1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-10 01:02:56 +03:00

Remove vestiges of the older TSD code for handling OOM exceptions.

Prepare for the release of 3.3.2. (CVS 2991)

FossilOrigin-Name: a65e85f0e01f3bca5f4e78999c10db3916824b5b
This commit is contained in:
drh
2006-01-23 00:04:54 +00:00
parent 504b69898b
commit 6dc1d95dd8
8 changed files with 30 additions and 45 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.475 2006/01/18 18:22:43 danielk1977 Exp $
** @(#) $Id: sqliteInt.h,v 1.476 2006/01/23 00:04:55 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -296,13 +296,9 @@ extern int sqlite3_iLine; /* Line number for debug info */
/*
** An instance of this structure might be allocated to store information
** specific to a single thread.
**
** To avoid a memory leak on windows, the content of this structure is
** checked at the conclusion of each API call. If it is all zero, it
** is deallocated.
*/
struct ThreadData {
int nRef; /* Number of users */
int dummy; /* So that this structure is never empty */
#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT
int nSoftHeapLimit; /* Suggested max mem allocation. No limit if <0 */
@@ -1255,7 +1251,6 @@ struct Parse {
int ckOffset; /* Stack offset to data used by CHECK constraints */
u32 writeMask; /* Start a write transaction on these databases */
u32 cookieMask; /* Bitmask of schema verified databases */
ThreadData *pTsd; /* Thread specific data for this thread */
int cookieGoto; /* Address of OP_Goto to cookie verifier subroutine */
int cookieValue[MAX_ATTACHED+2]; /* Values of cookies to verify */
#ifndef SQLITE_OMIT_SHARED_CACHE