diff options
Diffstat (limited to 'src/legacy.c')
-rw-r--r-- | src/legacy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/legacy.c b/src/legacy.c index 40fa8f5b0..2d928aeac 100644 --- a/src/legacy.c +++ b/src/legacy.c @@ -14,7 +14,7 @@ ** other files are for internal use by SQLite and should not be ** accessed by users of the library. ** -** $Id: legacy.c,v 1.9 2005/12/12 06:53:04 danielk1977 Exp $ +** $Id: legacy.c,v 1.10 2006/01/09 06:29:49 danielk1977 Exp $ */ #include "sqliteInt.h" @@ -121,7 +121,7 @@ exec_out: if( pStmt ) sqlite3_finalize(pStmt); if( azCols ) sqliteFree(azCols); - if( sqlite3Tsd()->mallocFailed ){ + if( sqlite3ThreadData()->mallocFailed ){ rc = SQLITE_NOMEM; sqlite3MallocClearFailed(); } |