1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-05 04:30:38 +03:00

Remove the sqlite3_error_string() API. (CVS 1514)

FossilOrigin-Name: af8e2006d808031a040f293c44f3bfbe841b866b
This commit is contained in:
danielk1977
2004-05-31 23:56:42 +00:00
parent 218dc69436
commit f20b21c8fd
11 changed files with 45 additions and 51 deletions

View File

@@ -12,7 +12,7 @@
** This file contains code to implement the "sqlite" command line
** utility for accessing SQLite databases.
**
** $Id: shell.c,v 1.100 2004/05/31 19:34:33 drh Exp $
** $Id: shell.c,v 1.101 2004/05/31 23:56:43 danielk1977 Exp $
*/
#include <stdlib.h>
#include <string.h>
@@ -1063,7 +1063,7 @@ static void process_input(struct callback_data *p, FILE *in){
sqlite3_free(zErrMsg);
zErrMsg = 0;
}else{
printf("SQL error: %s\n", sqlite3_error_string(rc));
printf("SQL error: %s\n", sqlite3ErrStr(rc));
}
}
free(zSql);