From d296f1d337dabfeae5191955fdadb874965dbbe9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 10 Aug 2011 12:13:27 -0500 Subject: rename the following methods: tqparent parent tqmask mask --- tqtinterface/qt4/src/3rdparty/sqlite/pragma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tqtinterface/qt4/src/3rdparty/sqlite/pragma.c') 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; } -- cgit v1.2.1