line |
true |
false |
branch |
52
|
0 |
0 |
if( nText<0 ) nText = strlen(zText); |
53
|
0 |
0 |
if( p->z==0 || p->nUsed + nText + 1 >= p->nAlloc ){ |
|
0 |
0 |
if( p->z==0 || p->nUsed + nText + 1 >= p->nAlloc ){ |
57
|
0 |
0 |
if( zNew==0 ){ |
74
|
0 |
0 |
for(i=j=0; zText[i]; i++){ |
75
|
0 |
0 |
if( zText[i]=='\'' ){ |
81
|
0 |
0 |
if( j
|
97
|
0 |
0 |
if( zErrMsg ){ |
114
|
0 |
0 |
if( argv==0 ) return 0; |
119
|
0 |
0 |
for(i=0; i
|
122
|
0 |
0 |
if( argv[i]==0 ){ |
145
|
0 |
0 |
if( argv==0 ) return 0; |
150
|
0 |
0 |
if( rc==SQLITE_OK && strcmp(argv[0],"table")==0 ){ |
|
0 |
0 |
if( rc==SQLITE_OK && strcmp(argv[0],"table")==0 ){ |
157
|
0 |
0 |
if( zErrMsg ){ |
162
|
0 |
0 |
if( rc!=SQLITE_ABORT ) p->rc = rc; |
175
|
0 |
0 |
if( argv==0 ) return 0; |
193
|
0 |
0 |
for(i=0; i<20; i++){ |
237
|
0 |
0 |
if( db->flags & SQLITE_InTrans ){ |
242
|
0 |
0 |
if( db->flags & SQLITE_Interrupt ){ |
251
|
0 |
0 |
if( zFilename==0 ){ |
258
|
0 |
0 |
if( zTemp==0 ) return SQLITE_NOMEM; |
260
|
0 |
0 |
for(i=0; i<10; i++){ |
263
|
0 |
0 |
if( !sqliteOsFileExists(zTemp) ) break; |
265
|
0 |
0 |
if( i>=10 ){ |
273
|
0 |
0 |
if( dbNew==0 ){ |
278
|
0 |
0 |
if( (rc = execsql(pzErrMsg, db, "BEGIN"))!=0 ) goto end_of_vacuum; |
279
|
0 |
0 |
if( (rc = execsql(pzErrMsg, dbNew, "PRAGMA synchronous=off; BEGIN"))!=0 ){ |
286
|
0 |
0 |
for(i=0; rc==SQLITE_OK && i
|
|
0 |
0 |
for(i=0; rc==SQLITE_OK && i
|
293
|
0 |
0 |
if( rc==SQLITE_OK ){ |
302
|
0 |
0 |
if( rc==SQLITE_OK ){ |
309
|
0 |
0 |
if( rc && zErrMsg!=0 ){ |
|
0 |
0 |
if( rc && zErrMsg!=0 ){ |
314
|
0 |
0 |
if( (dbNew && (dbNew->flags & SQLITE_Interrupt)) |
|
0 |
0 |
if( (dbNew && (dbNew->flags & SQLITE_Interrupt)) |
315
|
0 |
0 |
|| (db->flags & SQLITE_Interrupt) ){ |
318
|
0 |
0 |
if( dbNew ) sqlite_close(dbNew); |
323
|
0 |
0 |
if( zErrMsg ) sqlite_freemem(zErrMsg); |
324
|
0 |
0 |
if( rc==SQLITE_ABORT && sVac.rc!=SQLITE_INTERRUPT ) sVac.rc = SQLITE_ERROR; |
|
0 |
0 |
if( rc==SQLITE_ABORT && sVac.rc!=SQLITE_INTERRUPT ) sVac.rc = SQLITE_ERROR; |