Chyba aplikace nebo serveru: Deadlock found when trying to get lock; try restarting transaction : UPDATE
prefix_zbozi AS z,
prefix_varianty AS v,
prefix_dostupnosti AS d
SET
z.zakazat_export = 'ano'
WHERE
z.id_obchodu='1025'
AND
v.id_zbozi=z.id
AND
d.id_obchodu='1025'
AND
v.sklad >= d.sklad_od
AND
v.sklad <= d.sklad_do
AND
v.sklad_dodavatel >= d.dodavatel_sklad_od
AND
v.sklad_dodavatel <= d.dodavatel_sklad_do
AND
v.dostupnosti_podle_skladu='y'
AND
z.dostupnosti_podle_skladu='y'
AND
( d.dodavatel=z.dodavatel OR d.dodavatel IS NULL OR d.dodavatel='' )
AND
( d.vyrobce=z.vyrobce OR d.vyrobce IS NULL OR d.vyrobce='' )
AND z.id='240020'
AND
d.zakazat_export = 'ano'