📜  MySQL 代码示例中的“i_am_a_dummy 标志”

📅  最后修改于: 2022-03-11 15:05:14.739000             🧑  作者: Mango

代码示例1
"i_am_a_dummy flag" in mysql engine refuses to execute any UPDATE or DELETE Statement, if WHERE clause is not present in statement.
Hence it will save user to DELETE or UPDATE table data without WHERE clause.
We can achieve similar functionality with 'safe_updates' option in MySQL.