SQLite

View Ticket
Login
Ticket Hash: 2cb66577f600b7b657834fe3818fc7aba90d3803
Title: Diagnostic message is unintentionally printed in batch mode
Status: Fixed Type: Code_Defect
Severity: Minor Priority: Low
Subsystem: Shell Resolution: Fixed
Last Modified: 2009-10-24 02:06:16
Version Found In: 3.6.10
Description:
http://www.sqlite.org/cvstrac/tktview?tn=3591

The main() function checks a few arguments then calls process_sqliterc then processes the arguments again. process_sqliterc prints "Loading resources from ..." but only if in interactive mode. If the -batch parameter was supplied then it isn't looked at in the initial brief round of argument parsing which means the message can be printed in batch mode. Additionally the message goes to stdout which means it is intermingled with real output.


shane added on 2009-10-24 02:06:16:
Check-in [e3898e25cf].