summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/3rdparty/sqlite/pragma.c')
-rw-r--r--tqtinterface/qt4/src/3rdparty/sqlite/pragma.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c b/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c
index 28f8390..6534766 100644
--- a/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c
+++ b/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;
}