diff options
author | drh <drh@noemail.net> | 2018-12-06 02:01:17 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-12-06 02:01:17 +0000 |
commit | fc08a1aef8b2750f0f6721dc1937c42a514fbab3 (patch) | |
tree | 7ea8d78245ee1cd31af1851bbb9ee03286cb5b9b /src | |
parent | 974b24896ac3a1c2f5862c69539a269b7b0a07b4 (diff) | |
download | sqlite-fc08a1aef8b2750f0f6721dc1937c42a514fbab3.tar.gz sqlite-fc08a1aef8b2750f0f6721dc1937c42a514fbab3.zip |
Remove the unused pColHash field from the Table object.
FossilOrigin-Name: 3a2c047989facc3461c63a2f9eed412014c951035a80da47c52a70139fb552de
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 6 | ||||
-rw-r--r-- | src/sqliteInt.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/build.c b/src/build.c index ad1421d19..01fca6237 100644 --- a/src/build.c +++ b/src/build.c @@ -636,12 +636,6 @@ static void SQLITE_NOINLINE deleteTable(sqlite3 *db, Table *pTable){ /* Delete the Table structure itself. */ -#ifdef SQLITE_ENABLE_NORMALIZE - if( pTable->pColHash ){ - sqlite3HashClear(pTable->pColHash); - sqlite3_free(pTable->pColHash); - } -#endif sqlite3DeleteColumnNames(db, pTable); sqlite3DbFree(db, pTable->zName); sqlite3DbFree(db, pTable->zColAff); diff --git a/src/sqliteInt.h b/src/sqliteInt.h index fad351ec5..bdf0d7fcb 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1957,9 +1957,6 @@ struct VTable { struct Table { char *zName; /* Name of the table or view */ Column *aCol; /* Information about each column */ -#ifdef SQLITE_ENABLE_NORMALIZE - Hash *pColHash; /* All columns indexed by name */ -#endif Index *pIndex; /* List of SQL indexes on this table. */ Select *pSelect; /* NULL for tables. Points to definition if a view. */ FKey *pFKey; /* Linked list of all foreign keys in this table */ |