From b82e7edae9c6f8b0c9f2f6745442b5663a55b51a Mon Sep 17 00:00:00 2001 From: danielk1977 Date: Wed, 11 Jan 2006 14:09:31 +0000 Subject: Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917) FossilOrigin-Name: 3970eb875d1830d35b3a70a7583a8ab6b238cad6 --- src/sqliteInt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sqliteInt.h') diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 5dc84f2de..1710f9293 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.460 2006/01/10 17:58:23 danielk1977 Exp $ +** @(#) $Id: sqliteInt.h,v 1.461 2006/01/11 14:09:32 danielk1977 Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -423,6 +423,7 @@ struct Schema { */ #define DB_SchemaLoaded 0x0001 /* The schema has been loaded */ #define DB_UnresetViews 0x0002 /* Some views have defined column names */ +#define DB_Empty 0x0004 /* The file is empty (length 0 bytes) */ #define SQLITE_UTF16NATIVE (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE) @@ -522,7 +523,6 @@ struct sqlite3 { ** transaction is active on that particular database file. */ #define SQLITE_VdbeTrace 0x00000001 /* True to trace VDBE execution */ -#define SQLITE_Initialized 0x00000002 /* True after initialization */ #define SQLITE_Interrupt 0x00000004 /* Cancel current operation */ #define SQLITE_InTrans 0x00000008 /* True if in a transaction */ #define SQLITE_InternChanges 0x00000010 /* Uncommitted Hash table changes */ -- cgit v1.2.3