[sqlite] Result code differs running commands from script file and from console

2015-03-15 Thread Petr Lázňovský
As far as I understood you comment (english is not my first language), executing script could not provided specified resultcode because many fails can occur and exitcode is only one? But multiple fails can occurs on long cmdline too. What happens on this case? My logic says the internal

[sqlite] Result code differs running commands from script file and from console

2015-03-15 Thread Kevin Benson
On Sun, Mar 15, 2015 at 5:19 AM, Petr L?z?ovsk? wrote: > As far as I understood you comment (english is not my first language), > executing script could not provided specified resultcode because many fails > can occur and exitcode is only one? > Essentially, yes. The result code of 1 appears to

[sqlite] Result code differs running commands from script file and from console

2015-03-14 Thread Kevin Benson
On Sat, Mar 14, 2015 at 7:33 AM, Petr L?z?ovsk? wrote: > Just discovered the resulcodes differ if perform: > > > sqlite3.exe %db% < script.sql > > the %errorlevel% is 1 > > > but by > > > sqlite3.exe %db%

[sqlite] Result code differs running commands from script file and from console

2015-03-14 Thread Petr Lázňovský
Just discovered the resulcodes differ if perform: sqlite3.exe %db% < script.sql the %errorlevel% is 1 but by sqlite3.exe %db% "UPDATE table SET '='"; the errorlevel is 19 (correct as by