diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c')
-rw-r--r-- | experimental/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c b/experimental/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c index 28f83904a..653476664 100644 --- a/experimental/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c +++ b/experimental/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c @@ -91,7 +91,7 @@ static int getTempStore(char *z){ static int flagPragma(Parse *pParse, const char *zLeft, const char *zRight){ static const struct { const char *zName; /* Name of the pragma */ - int tqmask; /* Mask for the db->flags value */ + int mask; /* Mask for the db->flags value */ } aPragma[] = { { "vdbe_trace", STQLITE_VdbeTrace }, { "full_column_names", STQLITE_FullColNames }, @@ -108,13 +108,13 @@ static int flagPragma(Parse *pParse, const char *zLeft, const char *zRight){ if( strcmp(zLeft,zRight)==0 && (v = sqliteGetVdbe(pParse))!=0 ){ sqliteVdbeOp3(v, OP_ColumnName, 0, 1, aPragma[i].zName, P3_STATIC); sqliteVdbeOp3(v, OP_ColumnName, 1, 0, "boolean", P3_STATIC); - sqliteVdbeCode(v, OP_Integer, (db->flags & aPragma[i].tqmask)!=0, 0, + sqliteVdbeCode(v, OP_Integer, (db->flags & aPragma[i].mask)!=0, 0, OP_Callback, 1, 0, 0); }else if( getBoolean(zRight) ){ - db->flags |= aPragma[i].tqmask; + db->flags |= aPragma[i].mask; }else{ - db->flags &= ~aPragma[i].tqmask; + db->flags &= ~aPragma[i].mask; } return 1; } |