diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sqliteInt.h | 11 | ||||
-rw-r--r-- | src/vtab.c | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 24394aebb..3060f0748 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -661,14 +661,6 @@ struct Db { /* ** An instance of the following structure stores a database schema. -** -** If there are no virtual tables configured in this schema, the -** Schema.db variable is set to NULL. After the first virtual table -** has been added, it is set to point to the database connection -** used to create the connection. Once a virtual table has been -** added to the Schema structure and the Schema.db variable populated, -** only that database connection may use the Schema to prepare -** statements. */ struct Schema { int schema_cookie; /* Database schema version number for this file */ @@ -681,9 +673,6 @@ struct Schema { u8 enc; /* Text encoding used by this database */ u16 flags; /* Flags associated with this schema */ int cache_size; /* Number of pages to use in the cache */ -#ifndef SQLITE_OMIT_VIRTUALTABLE - sqlite3 *db; /* "Owner" connection. See comment above */ -#endif }; /* diff --git a/src/vtab.c b/src/vtab.c index 24e922e8d..d23846024 100644 --- a/src/vtab.c +++ b/src/vtab.c @@ -393,7 +393,6 @@ void sqlite3VtabFinishParse(Parse *pParse, Token *pEnd){ assert( pTab==pOld ); /* Malloc must have failed inside HashInsert() */ return; } - pSchema->db = pParse->db; pParse->pNewTable = 0; } } |