Site icon Leonid Mamchenkov

–i-am-a-dummy

Here is a handy command-line option for MySQL client: –i-am-a-dummy, or, if you don’t have a sense of humor, –safe-updates.  When used, this will prevent updating or deleting rows without explicitly specifying a WHERE clause.  It will also limit the number of SELECT and JOIN results.

Exit mobile version