sql_safe_updates作用

set sql_safe_updates=1

设置该变量后,不使用where条件将无法删除或更新数据

原文地址:https://www.cnblogs.com/itfenqing/p/4429495.html