Interactive queries - halt on error

[expired user #5327]'s profile image [expired user #5327] posted 13 years ago in General Permalink
I'm copying an SQL script containing from my editor to the Heidi query field and run the queries. If one of them generates an error, Heidi will execute the others nonetheless (like the -f parameter of the mysql command line). Is there a switch that will make query execution stop on errors?
ansgar's profile image ansgar posted 13 years ago Permalink
Yes, you can press the button on the main toolbar with the yellow warning sign on it: "Stop on errors in batch mode".
[expired user #5327]'s profile image [expired user #5327] posted 13 years ago Permalink
Thank you. I never looked at the toolbar before. I'm still missing this item in the menu or some general preferences or options, though.
ansgar's profile image ansgar posted 13 years ago Permalink
I just think of moving that button to the drop down menu of the blue "play" button. Unfortunately the query window's context menu is already overcrowded.

Please login to leave a reply, or register at first.