3 ms·
The MySQL command line client has an argument "--i-am-a-dummy" that refuses to run UPDATE and DELETE's without a WHERE clause. More commands could use options
by vidarh 14y ago
The MySQL command line client has an argument "--i-am-a-dummy" that refuses to run UPDATE and DELETE's without a WHERE clause.
More commands could use options to adjust how big guns they let you fire at your feet with...
- gknoy 14y agoSuch options might be more appealing to users if it were named something like "--extra-safety" or "--require-where".
- NSAID 14y agoHumorless users can use "--safe-updates" http://dev.mysql.com/doc/refman/5.0/en/mysql-tips.html#safe-updates http://dev.mysql.com/doc/refman/5.0/en/mysql-tips.html#safe-...
- sneak 14y ago...which is not the default. Fuck them.