Безопасный mysql
SET SQL_SAFE_UPDATES = 0;
SET SQL_SAFE_UPDATES = 1;
Vivi
SET SQL_SAFE_UPDATES = 0;
SET SQL_SAFE_UPDATES = 1;