DEV Community

Discussion on: What was the worst bug you've ever written?

Collapse
 
elmuerte profile image
Michiel Hendriks • Edited

Pressing "execute query" in graphical SQL client with the cursor on the first line for this content, in production:

update sometable 
set foo = ...,
bar = ...

where something = ... and ...

This error marked the end of me using auto commit.

Just in case you don't get it. The client treated blank lines as the end of a query.