aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-07-24 03:30:47 +0000
committerdrh <drh@noemail.net>2004-07-24 03:30:47 +0000
commit234c39dff7d87225380cb97fc34c2807ad71ec12 (patch)
tree698267e920ed5b0eba9debfcf20565d2565bf43c /src/sqliteInt.h
parent3e27c02625384c31ee6a79fbc74e995366a285f1 (diff)
downloadsqlite-234c39dff7d87225380cb97fc34c2807ad71ec12.tar.gz
sqlite-234c39dff7d87225380cb97fc34c2807ad71ec12.zip
Progress towards getting prepared statements and CREATE and DROP to play
nicely together. Work is incomplete. Some tests are known to fail. (CVS 1864) FossilOrigin-Name: 49b991492496e104f5eca620a5d465a742b7ff3a
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index d6cde4e5e..cdab05c9a 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.308 2004/07/22 15:02:25 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.309 2004/07/24 03:30:48 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -1160,6 +1160,16 @@ struct DbFixer {
};
/*
+** A pointer to this structure is used to communicate information
+** from sqlite3Init and OP_ParseSchema into the sqlite3InitCallback.
+*/
+typedef struct {
+ sqlite *db; /* The database being initialized */
+ char **pzErrMsg; /* Error message stored here */
+} InitData;
+
+
+/*
* This global flag is set for performance testing of triggers. When it is set
* SQLite will perform the overhead of building new and old trigger references
* even when no triggers exist
@@ -1210,6 +1220,7 @@ void sqlite3ExprDelete(Expr*);
ExprList *sqlite3ExprListAppend(ExprList*,Expr*,Token*);
void sqlite3ExprListDelete(ExprList*);
int sqlite3Init(sqlite*, char**);
+int sqlite3InitCallback(void*, int, char**, char**);
void sqlite3Pragma(Parse*,Token*,Token*,Token*,int);
void sqlite3ResetInternalSchema(sqlite*, int);
void sqlite3BeginParse(Parse*,int);