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

Basic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210)

FossilOrigin-Name: 66370cb99bd93abb33e1e8433672da45e1795f78
This commit is contained in:
drh
2006-06-10 13:29:31 +00:00
parent a543c82d75
commit e09daa90ac
9 changed files with 174 additions and 34 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.495 2006/06/08 15:48:01 drh Exp $
** @(#) $Id: sqliteInt.h,v 1.496 2006/06/10 13:29:33 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -702,6 +702,12 @@ struct Table {
#endif
#ifndef SQLITE_OMIT_ALTERTABLE
int addColOffset; /* Offset in CREATE TABLE statement to add a new column */
#endif
#ifndef SQLITE_OMIT_VIRTUALTABLE
char *zModuleName; /* Name of module implementing this virtual table */
sqlite3_module *pMod; /* Pointer to the implementation of the module */
sqlite3_vtab *pVTab; /* Pointer to the module instance */
u8 needCreate; /* Need to call pMod->xCreate() */
#endif
Schema *pSchema;
};