SELECT prodotti.id, prodotti.codice, prodotti.immagine, prodotti.permalink, prodotti.pezzi_conf, prodotti.fascia_prezzo_1_de as fascia_prezzo_1, prodotti.prezzo_1_de as prezzo_1 , prodotti.fascia_prezzo_2_de as fascia_prezzo_2 , prodotti.prezzo_2_de as prezzo_2 , prodotti.fascia_prezzo_3_de as fascia_prezzo_3 , prodotti.prezzo_3_de as prezzo_3 , prodotti.categoria_1, prodotti.descrizione_de as descrizione, prodotti.disponibilita_de as disponibilita, prodotti.opzioni2_de as opzioni, prodotti.taglie_de as taglie, categorie.titolo_de as cat_name, categorie.permalink_de as cat_pl, categorie.carrello as cart FROM prodotti , categorie WHERE prodotti.attivo = 'on' AND categorie.id = prodotti.categoria_1 AND pubblico = 'on' AND prodotti.permalink = 'a07455' ORDER BY prodotti.ordine DESC
Deadlock found when trying to get lock; try restarting transaction