- Error type:
MySQL Error
- Source, line:
Parser::tws_shop_topic[3179]
- Error message:
Deadlock found when trying to get lock; try restarting transaction
CREATE TEMPORARY TABLE MS8_tws_tmp_store (id INT UNSIGNED NOT NULL) ENGINE=MyISAM
AS SELECT DISTINCT store.id FROM MS8_store store
LEFT JOIN MS8_currency curr ON store.price_curr_id = curr.id
LEFT JOIN MS8_topic_store topic_store ON topic_store.store_id = store.id JOIN MS8_tws_tmp_subtopics AS subtopics
ON subtopics.id = topic_store.topic_id
JOIN MS8_store_info store_info1792 ON store_info1792.store_id=store.id AND store_info1792.value_id IN(185055) JOIN MS8_store_info store_info631 ON store_info631.store_id=store.id AND store_info631.value_id IN(125119) WHERE store.no_visible=0 AND store.kind_key='kDefault' AND IF(store.price_curr_id>0, IF(curr.division=1, store.price/curr.multiplex, store.price*curr.multiplex), store.price)>=800 AND IF(store.price_curr_id>0, IF(curr.division=1, store.price/curr.multiplex, store.price*curr.multiplex), store.price)<=6000 AND store.brand_id IN (876) AND store.status_key <> 'kAbsent'