1213 - Deadlock found when trying to get lock; try restarting transaction

update products set products_status = 0 where products_status = 1 and products_quantity <= 0

[TEP STOP]