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

Fix a bug in the error reporting of sqlite3_table_column_metadata(). (CVS 5422)

FossilOrigin-Name: 7eba18c3a5c91be2ca2b6cf9e4e04a2791e1f7b2
This commit is contained in:
drh
2008-07-16 14:02:32 +00:00
parent a911abed4d
commit 118640bdad
3 changed files with 9 additions and 9 deletions

View File

@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.478 2008/07/16 12:25:32 drh Exp $
** $Id: main.c,v 1.479 2008/07/16 14:02:33 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1748,7 +1748,7 @@ error_out:
if( SQLITE_OK==rc && !pTab ){
sqlite3_free(zErrMsg);
zErrMsg = sqlite3MPrintf("no such table column: %s.%s", zTableName,
zErrMsg = sqlite3MPrintf(db, "no such table column: %s.%s", zTableName,
zColumnName);
rc = SQLITE_ERROR;
}