Greetings,
I'm using -bail with the sqlite3 client, which is great, but alas
sqlite3 doesn't return a non-zero value when it bails with a failure:
% sqlite3 foo_test.db '.read sql/001-tables.sql'
SQL error near line 3: near "autoincrement": syntax error
% echo $?
0
Would it be possible for the sqlite3 client to exit with a non-zero
value when it encounters an error and bails? This would greatly help
with error handling in scripts.
Thanks,
David
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users