diff options
author | drh <drh@noemail.net> | 2009-11-04 13:30:01 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-11-04 13:30:01 +0000 |
commit | 1860e3f98f0cc83cee4e5a48031820aeacde6a16 (patch) | |
tree | c670df291f35639477e5c799658605ead22269e9 /src | |
parent | 8677d30812233c0ff522019c64039ed39a47074d (diff) | |
download | sqlite-1860e3f98f0cc83cee4e5a48031820aeacde6a16.tar.gz sqlite-1860e3f98f0cc83cee4e5a48031820aeacde6a16.zip |
Remove "const" from parameter of sqlite3BtreeFactory() to avoid a compiler
warning.
FossilOrigin-Name: eb7a544fe49d1626bacecfe53ddc03fe082e3243
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/sqliteInt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index a0e765db8..a67542788 100644 --- a/src/main.c +++ b/src/main.c @@ -1219,7 +1219,7 @@ int sqlite3TempInMemory(const sqlite3 *db){ ** The sqlite3TempInMemory() function is used to determine which. */ int sqlite3BtreeFactory( - const sqlite3 *db, /* Main database when opening aux otherwise 0 */ + sqlite3 *db, /* Main database when opening aux otherwise 0 */ const char *zFilename, /* Name of the file containing the BTree database */ int omitJournal, /* if TRUE then do not journal this file */ int nCache, /* How many pages in the page cache */ diff --git a/src/sqliteInt.h b/src/sqliteInt.h index b1b04725a..b47eba43c 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2761,7 +2761,7 @@ void sqlite3DeferForeignKey(Parse*, int); #endif void sqlite3Attach(Parse*, Expr*, Expr*, Expr*); void sqlite3Detach(Parse*, Expr*); -int sqlite3BtreeFactory(const sqlite3 *db, const char *zFilename, +int sqlite3BtreeFactory(sqlite3 *db, const char *zFilename, int omitJournal, int nCache, int flags, Btree **ppBtree); int sqlite3FixInit(DbFixer*, Parse*, int, const char*, const Token*); int sqlite3FixSrcList(DbFixer*, SrcList*); |