mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-06 15:49:35 +03:00
Make excess output from the CLI appear inside SQL comments so as not
to interfere with generated SQL. Ticket #2544. (CVS 4192) FossilOrigin-Name: 49a2e85511e845051cfc6ae4318207b1866d43c9
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
** This file contains code to implement the "sqlite" command line
|
||||
** utility for accessing SQLite databases.
|
||||
**
|
||||
** $Id: shell.c,v 1.165 2007/07/30 18:24:39 rse Exp $
|
||||
** $Id: shell.c,v 1.166 2007/07/30 20:41:53 drh Exp $
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -1779,7 +1779,7 @@ static void process_sqliterc(
|
||||
in = fopen(sqliterc,"rb");
|
||||
if( in ){
|
||||
if( stdin_is_interactive ){
|
||||
printf("Loading resources from %s\n",sqliterc);
|
||||
printf("-- Loading resources from %s\n",sqliterc);
|
||||
}
|
||||
process_input(p,in);
|
||||
fclose(in);
|
||||
|
||||
Reference in New Issue
Block a user