diff options
author | drh <drh@noemail.net> | 2003-03-27 13:50:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2003-03-27 13:50:00 +0000 |
commit | 812d7a21dd30c9ed9aebdb063a3efedede092d63 (patch) | |
tree | 40176d47b4cc2c517ba9dd0d0cef845861ae3cad /src/sqliteInt.h | |
parent | 0951d703f2dcd3f096f1cdec7a2c3c304956f5fe (diff) | |
download | sqlite-812d7a21dd30c9ed9aebdb063a3efedede092d63.tar.gz sqlite-812d7a21dd30c9ed9aebdb063a3efedede092d63.zip |
Regression tests now work - except for some changes in error message
text. The library is now safe to use for experimental work. (CVS 885)
FossilOrigin-Name: 8a593e9c2d57e758739a7ef54fa40ca6a0071a9a
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 854e255ea..dcc325f75 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.165 2003/03/27 12:51:25 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.166 2003/03/27 13:50:00 drh Exp $ */ #include "config.h" #include "sqlite.h" @@ -254,6 +254,13 @@ struct sqlite { }; /* +** The following are the indices of in sqlite.aDb[] of the main database +** file and the file used to store TEMP tables. +*/ +#define DB_TMP 0 +#define DB_MAIN 1 + +/* ** Possible values for the sqlite.flags. */ #define SQLITE_VdbeTrace 0x00000001 /* True to trace VDBE execution */ @@ -1001,7 +1008,8 @@ Select *sqliteSelectNew(ExprList*,SrcList*,Expr*,ExprList*,Expr*,ExprList*, int,int,int); void sqliteSelectDelete(Select*); void sqliteSelectUnbind(Select*); -Table *sqliteTableNameToTable(Parse*, const char*, const char*); +Table *sqliteSrcListLookup(Parse*, SrcList*); +int sqliteIsReadOnly(Parse*, Table*); void sqliteDeleteFrom(Parse*, SrcList*, Expr*); void sqliteUpdate(Parse*, SrcList*, ExprList*, Expr*, int); WhereInfo *sqliteWhereBegin(Parse*, int, SrcList*, Expr*, int, ExprList**); |