Jim Ursetto <[EMAIL PROTECTED]> wrote: > Hi, > > I created a patch which adds "-bail" and ".bail" commands to the sqlite3 > shell. When bail is enabled, the shell will exit with a non-zero return > code immediately upon encountering the first SQL error. This is useful > when you pass a number of commands to the shell non-interactively and > wish to, for example, abandon a transaction if any errors occur. It's > also useful because the calling program receives an indication of > success or failure. Bail mode works for standard input, init files, > ..read commands and, for completeness, interactively. > > Patch is against 3.3.7. I hope someone finds it of use. >
Please go to http://www.sqlite.org/cvstrac/tktnew and write an enhancement request ticket. Make your patch an attachment. I'll look into it when I have a chance. -- D. Richard Hipp <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------

