diff options
author | danielk1977 <danielk1977@noemail.net> | 2004-05-31 23:56:42 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2004-05-31 23:56:42 +0000 |
commit | f20b21c8fd13e713532c15d70ea7b782415ffafa (patch) | |
tree | badacd4682acaa63d681b9ce8a3f84dc9f77ea0e /src/tclsqlite.c | |
parent | 218dc69436cb9cb0aa97e596c4d842a4d64c5e98 (diff) | |
download | sqlite-f20b21c8fd13e713532c15d70ea7b782415ffafa.tar.gz sqlite-f20b21c8fd13e713532c15d70ea7b782415ffafa.zip |
Remove the sqlite3_error_string() API. (CVS 1514)
FossilOrigin-Name: af8e2006d808031a040f293c44f3bfbe841b866b
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index cfdb4da66..0fa9fe60e 100644 --- a/src/tclsqlite.c +++ b/src/tclsqlite.c @@ -11,7 +11,7 @@ ************************************************************************* ** A TCL Interface to SQLite ** -** $Id: tclsqlite.c,v 1.77 2004/05/31 18:51:58 drh Exp $ +** $Id: tclsqlite.c,v 1.78 2004/05/31 23:56:43 danielk1977 Exp $ */ #ifndef NO_TCL /* Omit this whole file if TCL is unavailable */ @@ -773,7 +773,7 @@ static int DbObjCmd(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){ free(zErrMsg); rc = TCL_ERROR; }else if( rc!=SQLITE_OK ){ - Tcl_AppendResult(interp, sqlite3_error_string(rc), 0); + Tcl_AppendResult(interp, sqlite3ErrStr(rc), 0); rc = TCL_ERROR; } break; @@ -795,7 +795,7 @@ static int DbObjCmd(void *cd, Tcl_Interp *interp, int objc,Tcl_Obj *const*objv){ #ifdef SQLITE_HAS_CODEC rc = sqlite_rekey(pDb->db, pKey, nKey); if( rc ){ - Tcl_AppendResult(interp, sqlite3_error_string(rc), 0); + Tcl_AppendResult(interp, sqlite3ErrStr(rc), 0); rc = TCL_ERROR; } #endif |