line |
true |
false |
branch |
25
|
0 |
50 |
if( z[0]==0 ) return 0; |
26
|
50 |
0 |
if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ |
|
0 |
50 |
if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ |
|
0 |
0 |
if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ |
29
|
100 |
0 |
for(i=0; i
|
30
|
50 |
50 |
if( sqliteStrICmp(z,azTrue[i])==0 ) return 1; |
59
|
0 |
0 |
if( z[0]==0 ) return 1; |
60
|
0 |
0 |
if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ |
|
0 |
0 |
if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ |
|
0 |
0 |
if( isdigit(z[0]) || (z[0]=='-' && isdigit(z[1])) ){ |
63
|
0 |
0 |
for(i=0; i
|
64
|
0 |
0 |
if( sqliteStrICmp(z,aKey[i].zWord)==0 ) return aKey[i].val; |
75
|
0 |
0 |
if( z[0]>='0' && z[0]<='2' ){ |
|
0 |
0 |
if( z[0]>='0' && z[0]<='2' ){ |
77
|
0 |
0 |
}else if( sqliteStrICmp(z, "file")==0 ){ |
79
|
0 |
0 |
}else if( sqliteStrICmp(z, "memory")==0 ){ |
94
|
0 |
0 |
if( db->temp_store==ts ) return SQLITE_OK; |
95
|
0 |
0 |
if( db->aDb[1].pBt!=0 ){ |
96
|
0 |
0 |
if( db->flags & SQLITE_InTrans ){ |
127
|
250 |
0 |
for(i=0; i
|
128
|
50 |
200 |
if( sqliteStrICmp(zLeft, aPragma[i].zName)==0 ){ |
131
|
0 |
50 |
if( strcmp(zLeft,zRight)==0 && (v = sqliteGetVdbe(pParse))!=0 ){ |
|
0 |
0 |
if( strcmp(zLeft,zRight)==0 && (v = sqliteGetVdbe(pParse))!=0 ){ |
137
|
50 |
0 |
}else if( getBoolean(zRight) ){ |
164
|
0 |
50 |
if( v==0 ) return; |
168
|
0 |
50 |
if( minusFlag ){ |
175
|
0 |
50 |
if( sqliteAuthCheck(pParse, SQLITE_PRAGMA, zLeft, zRight, 0) ){ |
197
|
0 |
50 |
if( sqliteStrICmp(zLeft,"default_cache_size")==0 ){ |
209
|
0 |
0 |
if( pRight->z==pLeft->z ){ |
214
|
0 |
0 |
if( size<0 ) size = -size; |
223
|
0 |
0 |
db->cache_size = db->cache_size<0 ? -size : size; |
242
|
0 |
50 |
if( sqliteStrICmp(zLeft,"cache_size")==0 ){ |
247
|
0 |
0 |
if( pRight->z==pLeft->z ){ |
249
|
0 |
0 |
if( size<0 ) size = -size; |
254
|
0 |
0 |
if( size<0 ) size = -size; |
255
|
0 |
0 |
if( db->cache_size<0 ) size = -size; |
280
|
0 |
50 |
if( sqliteStrICmp(zLeft,"default_synchronous")==0 ){ |
295
|
0 |
0 |
if( pRight->z==pLeft->z ){ |
301
|
0 |
0 |
if( size<0 ) size = -size; |
310
|
0 |
0 |
if( db->safety_level==1 ){ |
333
|
0 |
50 |
if( sqliteStrICmp(zLeft,"synchronous")==0 ){ |
338
|
0 |
0 |
if( pRight->z==pLeft->z ){ |
343
|
0 |
0 |
if( size<0 ) size = -size; |
345
|
0 |
0 |
if( db->safety_level==1 ) size = -size; |
362
|
0 |
50 |
if( flagPragma(pParse, zLeft, zRight) ){ |
366
|
0 |
0 |
if( sqliteStrICmp(zLeft, "table_info")==0 ){ |
369
|
0 |
0 |
if( pTab ){ |
381
|
0 |
0 |
for(i=0; inCol; i++){ |
384
|
0 |
0 |
sqliteVdbeOp3(v, OP_String, 0, 0, |
395
|
0 |
0 |
if( sqliteStrICmp(zLeft, "index_info")==0 ){ |
399
|
0 |
0 |
if( pIdx ){ |
408
|
0 |
0 |
for(i=0; inColumn; i++){ |
419
|
0 |
0 |
if( sqliteStrICmp(zLeft, "index_list")==0 ){ |
423
|
0 |
0 |
if( pTab ){ |
427
|
0 |
0 |
if( pTab && pIdx ){ |
|
0 |
0 |
if( pTab && pIdx ){ |
436
|
0 |
0 |
while(pIdx){ |
447
|
0 |
0 |
if( sqliteStrICmp(zLeft, "foreign_key_list")==0 ){ |
451
|
0 |
0 |
if( pTab ){ |
455
|
0 |
0 |
if( pTab && pFK ){ |
|
0 |
0 |
if( pTab && pFK ){ |
466
|
0 |
0 |
while(pFK){ |
468
|
0 |
0 |
for(j=0; jnCol; j++){ |
483
|
0 |
0 |
if( sqliteStrICmp(zLeft, "database_list")==0 ){ |
492
|
0 |
0 |
for(i=0; inDb; i++){ |
493
|
0 |
0 |
if( db->aDb[i].pBt==0 ) continue; |
515
|
0 |
0 |
if( sqliteStrICmp(zLeft, "temp_store")==0 ){ |
520
|
0 |
0 |
if( pRight->z==pLeft->z ){ |
539
|
0 |
0 |
if( sqliteStrICmp(zLeft, "default_temp_store")==0 ){ |
544
|
0 |
0 |
if( pRight->z==pLeft->z ){ |
565
|
0 |
0 |
if( sqliteStrICmp(zLeft, "integrity_check")==0 ){ |
616
|
0 |
0 |
for(i=0; inDb; i++){ |
632
|
0 |
0 |
for(x=sqliteHashFirst(&db->aDb[i].tblHash); x; x=sqliteHashNext(x)){ |
637
|
0 |
0 |
if( pTab->pIndex==0 ) continue; |
640
|
0 |
0 |
for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ |
641
|
0 |
0 |
if( pIdx->tnum==0 ) continue; |
649
|
0 |
0 |
for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ |
661
|
0 |
0 |
for(k=0; knColumn; k++){ |
663
|
0 |
0 |
if( idx==pTab->iPKey ){ |
670
|
0 |
0 |
if( db->file_format>=4 ) sqliteAddIdxKeyType(v, pIdx); |
678
|
0 |
0 |
for(j=0, pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext, j++){ |
694
|
0 |
0 |
if( pIdx->tnum==0 ) continue; |