1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-03 16:53:36 +03:00

For the shell, changed the output of the errors on lines 2910 and 2914 to goto

stderr.  I left the timer values going to stdout as all of the other interactive
shell commands (startup banner, help, etc.) go to stdout and I felt this was more
consistent.  Ticket 43db771bb2.

FossilOrigin-Name: 8a8eeb0c5af4bbeafd9864b03557eb9cd32f09ce
This commit is contained in:
shane
2009-10-21 03:56:54 +00:00
parent b320ccd782
commit d2bed1c8ca
3 changed files with 9 additions and 9 deletions

View File

@@ -2907,11 +2907,11 @@ static int process_input(struct callback_data *p, FILE *in){
sqlite3_snprintf(sizeof(zPrefix), zPrefix, "SQL error:");
}
if( zErrMsg!=0 ){
printf("%s %s\n", zPrefix, zErrMsg);
fprintf(stderr, "%s %s\n", zPrefix, zErrMsg);
sqlite3_free(zErrMsg);
zErrMsg = 0;
}else{
printf("%s %s\n", zPrefix, sqlite3_errmsg(p->db));
fprintf(stderr, "%s %s\n", zPrefix, sqlite3_errmsg(p->db));
}
errCnt++;
}