1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Cleanup of warnings on MSVC build.

FossilOrigin-Name: 5588cc96bbe0b9df5f8d31f8f2d2b48b3f54ff09
This commit is contained in:
shane
2009-09-10 19:09:03 +00:00
parent 17458718b2
commit abc6b89085
4 changed files with 17 additions and 13 deletions

View File

@@ -1313,7 +1313,7 @@ void sqlite3VdbeMakeReady(
int nCursor, /* Number of cursors to allocate */
int nArg, /* Maximum number of args in SubPrograms */
int isExplain, /* True if the EXPLAIN keywords is present */
int usesStmtJournal /* True to set Vdbe.usesStmtJournal */
int usesStmtJournal /* True to set Vdbe.usesStmtJournal */
){
int n;
sqlite3 *db = p->db;
@@ -1349,7 +1349,7 @@ void sqlite3VdbeMakeReady(
u8 *zEnd = (u8 *)&p->aOp[p->nOpAlloc];
int nByte;
resolveP2Values(p, &nArg);
p->usesStmtJournal = usesStmtJournal;
p->usesStmtJournal = (u8)usesStmtJournal;
if( isExplain && nMem<10 ){
nMem = 10;
}