SQLite
Check-in [eb7a544fe4]
Not logged in
Overview
SHA1 Hash:eb7a544fe49d1626bacecfe53ddc03fe082e3243
Date: 2009-11-04 13:30:02
User: drh
Edited Comment:Version 3.6.20
Original Comment:Remove "const" from parameter of sqlite3BtreeFactory() to avoid a compiler warning.
Tags And Properties
Changes
hide diffs unified diffs patch

Changes to src/main.c

1215 ** soon as the connection is closed. 1215 ** soon as the connection is closed. 1216 ** 1216 ** 1217 ** A virtual database can be either a disk file (that is automatically 1217 ** A virtual database can be either a disk file (that is automatically 1218 ** deleted when the file is closed) or it an be held entirely in memory. 1218 ** deleted when the file is closed) or it an be held entirely in memory. 1219 ** The sqlite3TempInMemory() function is used to determine which. 1219 ** The sqlite3TempInMemory() function is used to determine which. 1220 */ 1220 */ 1221 int sqlite3BtreeFactory( 1221 int sqlite3BtreeFactory( 1222 const sqlite3 *db, /* Main database when opening aux otherwise 0 */ | 1222 sqlite3 *db, /* Main database when opening aux otherwise 0 */ 1223 const char *zFilename, /* Name of the file containing the BTree database */ 1223 const char *zFilename, /* Name of the file containing the BTree database */ 1224 int omitJournal, /* if TRUE then do not journal this file */ 1224 int omitJournal, /* if TRUE then do not journal this file */ 1225 int nCache, /* How many pages in the page cache */ 1225 int nCache, /* How many pages in the page cache */ 1226 int vfsFlags, /* Flags passed through to vfsOpen */ 1226 int vfsFlags, /* Flags passed through to vfsOpen */ 1227 Btree **ppBtree /* Pointer to new Btree object written here */ 1227 Btree **ppBtree /* Pointer to new Btree object written here */ 1228 ){ 1228 ){ 1229 int btFlags = 0; 1229 int btFlags = 0;

Changes to src/sqliteInt.h

2757 # define sqlite3AuthRead(a,b,c,d) 2757 # define sqlite3AuthRead(a,b,c,d) 2758 # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK 2758 # define sqlite3AuthCheck(a,b,c,d,e) SQLITE_OK 2759 # define sqlite3AuthContextPush(a,b,c) 2759 # define sqlite3AuthContextPush(a,b,c) 2760 # define sqlite3AuthContextPop(a) ((void)(a)) 2760 # define sqlite3AuthContextPop(a) ((void)(a)) 2761 #endif 2761 #endif 2762 void sqlite3Attach(Parse*, Expr*, Expr*, Expr*); 2762 void sqlite3Attach(Parse*, Expr*, Expr*, Expr*); 2763 void sqlite3Detach(Parse*, Expr*); 2763 void sqlite3Detach(Parse*, Expr*); 2764 int sqlite3BtreeFactory(const sqlite3 *db, const char *zFilename, | 2764 int sqlite3BtreeFactory(sqlite3 *db, const char *zFilename, 2765 int omitJournal, int nCache, int flags, Btree **ppBtree); 2765 int omitJournal, int nCache, int flags, Btree **ppBtree); 2766 int sqlite3FixInit(DbFixer*, Parse*, int, const char*, const Token*); 2766 int sqlite3FixInit(DbFixer*, Parse*, int, const char*, const Token*); 2767 int sqlite3FixSrcList(DbFixer*, SrcList*); 2767 int sqlite3FixSrcList(DbFixer*, SrcList*); 2768 int sqlite3FixSelect(DbFixer*, Select*); 2768 int sqlite3FixSelect(DbFixer*, Select*); 2769 int sqlite3FixExpr(DbFixer*, Expr*); 2769 int sqlite3FixExpr(DbFixer*, Expr*); 2770 int sqlite3FixExprList(DbFixer*, ExprList*); 2770 int sqlite3FixExprList(DbFixer*, ExprList*); 2771 int sqlite3FixTriggerStep(DbFixer*, TriggerStep*); 2771 int sqlite3FixTriggerStep(DbFixer*, TriggerStep*);