/ Check-in [33b1e862]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Get SQLITE_OMIT_VIRTUALTABLE working again after being broken by recent changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:33b1e862ffa7109480cf4a77ceae8aebe98d3eee
User & Date: drh 2010-07-28 19:17:51
Context
2010-07-29
01:50
Correct handling of compound foreign key constraints that include the integer primary key as one of the columns. Ticket [ce7c133ea6cc9ccdc1] check-in: 53902f7d user: drh tags: trunk
2010-07-28
19:17
Get SQLITE_OMIT_VIRTUALTABLE working again after being broken by recent changes. check-in: 33b1e862 user: drh tags: trunk
18:51
Fix the dbstatus.test script so that it works correctly on 64-bit machines. check-in: a3401d9e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/build.c.

   509    509     sqliteDeleteColumnNames(db, pTable);
   510    510     sqlite3DbFree(db, pTable->zName);
   511    511     sqlite3DbFree(db, pTable->zColAff);
   512    512     sqlite3SelectDelete(db, pTable->pSelect);
   513    513   #ifndef SQLITE_OMIT_CHECK
   514    514     sqlite3ExprDelete(db, pTable->pCheck);
   515    515   #endif
          516  +#ifndef SQLITE_OMIT_VIRTUALTABLE
   516    517     sqlite3VtabClear(db, pTable);
          518  +#endif
   517    519     sqlite3DbFree(db, pTable);
   518    520   }
   519    521   
   520    522   /*
   521    523   ** Unlink the given table from the hash tables and the delete the
   522    524   ** table structure with all its indices and foreign keys.
   523    525   */