Re: how to quit a (CLI) script ?

2006-04-03 Thread Kishore Jalleda
@@error_count; > But how to quit a CLI script, if @@error_count > 0 ? > Any ideas are most welcome. > > TIA, Cor >

how to quit a (CLI) script ?

2006-04-03 Thread C.R.Vegelin
Hi everyone, I use many scripts that are started from the CLI (MySQL 5.0.15). And if errors occur, I want to quit a script. I looked at: http://dev.mysql.com/doc/refman/5.0/en/show-errors.html and found Show Count(*) Errors; and for Select @@error_count; But how to quit a CLI script, if