- 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_info844 ON store_info844.store_id=store.id AND store_info844.value_id IN(75068) JOIN MS8_store_info store_info1163 ON store_info1163.store_id=store.id AND store_info1163.value_id IN(129512) JOIN MS8_store_info store_info1365 ON store_info1365.store_id=store.id AND store_info1365.value_id IN(134763) 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)>=5000 AND IF(store.price_curr_id>0, IF(curr.division=1, store.price/curr.multiplex, store.price*curr.multiplex), store.price)<=297000 AND store.brand_id IN (1256) AND store.status_key <> 'kAbsent'