/ Check-in [eb7a544f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Version 3.6.20
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | release
Files: files | file ages | folders
SHA1: eb7a544fe49d1626bacecfe53ddc03fe082e3243
User & Date: drh 2009-11-04 13:30:02
Original Comment: Remove "const" from parameter of sqlite3BtreeFactory() to avoid a compiler warning.
Context
2009-11-06
03:22
Add some very basic tests for the commands available from the CLI. check-in: 6bf43338 user: shaneh tags: trunk
2009-11-05
18:46
Recover an ophaned branch that resulted from some ill-advised "shunning". This check-in should be identical to [bd443f39a9] except that it should be on the trunk. check-in: 38eaf1ab user: drh tags: trunk
02:34
Initial implementation of a virtual table for CSV files. check-in: 90e63b7d user: shaneh tags: csv_ext
2009-11-04
13:30
Version 3.6.20 check-in: eb7a544f user: drh tags: trunk, release
13:17
Create a new datatype "ynVar" to hold "nVar" (number of variable) values. This is normally 16-bits can can be 32-bits if SQLITE_MAX_VARIABLE_NUMBER is large enough. check-in: 24a4d520 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

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

Changes to src/sqliteInt.h.

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