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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user