diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/3rdparty/sqlite | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/3rdparty/sqlite')
38 files changed, 178 insertions, 178 deletions
diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/attach.c b/tqtinterface/qt4/src/3rdparty/sqlite/attach.c index f1e6f7a..e8cd86e 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/attach.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/attach.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code used to implement the ATTACH and DETACH commands. +** This file contains code used to implement the ATTACH and DETACH commands. ** ** $Id: attach.c,v 1.10 2004/02/12 18:46:39 drh Exp $ */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/auth.c b/tqtinterface/qt4/src/3rdparty/sqlite/auth.c index 8847d4a..bf07eba 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/auth.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/auth.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code used to implement the sqlite_set_authorizer() +** This file contains code used to implement the sqlite_set_authorizer() ** API. This facility is an optional feature of the library. Embedded ** systems that do not need this facility may omit it by recompiling ** the library with -DSTQLITE_OMIT_AUTHORIZATION=1 diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/btree.c b/tqtinterface/qt4/src/3rdparty/sqlite/btree.c index f3b92c6..c7143e0 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/btree.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/btree.c @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -18,7 +18,7 @@ ** "Sorting And Searching", pages 473-480. Addison-Wesley ** Publishing Company, Reading, Massachusetts. ** -** The basic idea is that each page of the file tqcontains N database +** The basic idea is that each page of the file contains N database ** entries and N+1 pointers to subpages. ** ** ---------------------------------------------------------------- @@ -41,13 +41,13 @@ ** database page. If the payload is larger than MX_LOCAL_PAYLOAD bytes ** then surplus bytes are stored on overflow pages. The payload for an ** entry and the preceding pointer are combined to form a "Cell". Each -** page has a small header which tqcontains the Ptr(N+1) pointer. +** page has a small header which contains the Ptr(N+1) pointer. ** -** The first page of the file tqcontains a magic string used to verify that +** The first page of the file contains a magic string used to verify that ** the file really is a valid BTree database, a pointer to a list of unused ** pages in the file, and some meta information. The root of the first ** BTree begins on page 2 of the file. (Pages are numbered beginning with -** 1, not 0.) Thus a minimum database tqcontains 2 pages. +** 1, not 0.) Thus a minimum database contains 2 pages. */ #include "sqliteInt.h" #include "pager.h" @@ -110,7 +110,7 @@ typedef struct FreelistInfo FreelistInfo; ** STQLite database in order to identify the file as a real database. */ static const char zMagicHeader[] = - "** This file tqcontains an STQLite 2.1 database **"; + "** This file contains an STQLite 2.1 database **"; #define MAGIC_SIZE (sizeof(zMagicHeader)) /* @@ -127,13 +127,13 @@ static const char zMagicHeader[] = #define MAGIC 0xdae37528 /* -** The first page of the database file tqcontains a magic header string -** to identify the file as an STQLite database file. It also tqcontains -** a pointer to the first free page of the file. Page 2 tqcontains the +** The first page of the database file contains a magic header string +** to identify the file as an STQLite database file. It also contains +** a pointer to the first free page of the file. Page 2 contains the ** root of the principle BTree. The file might contain other BTrees ** rooted on pages above 2. ** -** The first page also tqcontains STQLITE_N_BTREE_META integers that +** The first page also contains STQLITE_N_BTREE_META integers that ** can be used by higher-level routines. ** ** Remember that pages are numbered beginning with 1. (See pager.c @@ -161,9 +161,9 @@ struct PageOne { ** is the index into MemPage.u.aDisk[] of the first cell on the page. The ** Cells are kept in sorted order. ** -** A Cell tqcontains all information about a database entry and a pointer -** to a child page that tqcontains other entries less than itself. In -** other words, the i-th Cell tqcontains both Ptr(i) and Key(i). The +** A Cell contains all information about a database entry and a pointer +** to a child page that contains other entries less than itself. In +** other words, the i-th Cell contains both Ptr(i) and Key(i). The ** right-most pointer of the page is contained in PageHdr.rightChild. */ struct PageHdr { @@ -220,7 +220,7 @@ struct CellHdr { /* ** The maximum amount of payload (in bytes) that can be stored locally for -** a database entry. If the entry tqcontains more data than this, the +** a database entry. If the entry contains more data than this, the ** extra goes onto overflow pages. ** ** This number is chosen so that at least 4 cells will fit on every page. @@ -282,7 +282,7 @@ struct OverflowPage { /* ** The PageOne.freeList field points to a linked list of overflow pages ** hold information about free pages. The aPayload section of each -** overflow page tqcontains an instance of the following structure. The +** overflow page contains an instance of the following structure. The ** aFree[] array holds the page number of nFree unused pages in the disk ** file. */ @@ -293,7 +293,7 @@ struct FreelistInfo { /* ** For every page in the database file, an instance of the following structure -** is stored in memory. The u.aDisk[] array tqcontains the raw bits read from +** is stored in memory. The u.aDisk[] array contains the raw bits read from ** the disk. The rest is auxiliary information held in memory only. The ** auxiliary info is only valid for regular database pages - it is not ** used for overflow pages and pages on the freelist. @@ -304,7 +304,7 @@ struct FreelistInfo { ** than in linear time which would be needed if we had to walk the linked ** list on every access. ** -** Note that apCell[] tqcontains enough space to hold up to two more Cells +** Note that apCell[] contains enough space to hold up to two more Cells ** than can possibly fit on one page. In the steady state, every apCell[] ** points to memory inside u.aDisk[]. But in the middle of an insert ** operation, some apCell[] entries may temporarily point to data space @@ -366,7 +366,7 @@ struct BtCursor { BtCursor *pNext, *pPrev; /* Forms a linked list of all cursors */ BtCursor *pShared; /* Loop of cursors with the same root page */ Pgno pgnoRoot; /* The root page of this tree */ - MemPage *pPage; /* Page that tqcontains the entry */ + MemPage *pPage; /* Page that contains the entry */ int idx; /* Index of the entry in pPage->apCell[] */ u8 wrFlag; /* True if writable */ u8 eSkip; /* Determines if next step operation is a no-op */ @@ -462,7 +462,7 @@ static void defragmentPage(Btree *pBt, MemPage *pPage){ ** the new allocation. Or return 0 if there is not enough free ** space on the page to satisfy the allocation request. ** -** If the page tqcontains nBytes of free space but does not contain +** If the page contains nBytes of free space but does not contain ** nBytes of contiguous free space, then this routine automatically ** calls defragementPage() to consolidate all free space before ** allocating the new chunk. @@ -1411,7 +1411,7 @@ static int moveToChild(BtCursor *pCur, int newPgno){ /* ** Move the cursor up to the tqparent page. ** -** pCur->idx is set to the cell index that tqcontains the pointer +** pCur->idx is set to the cell index that contains the pointer ** to the page we are coming from. If we are coming from the ** right-most child page then pCur->idx is set to one more than ** the largest cell index. @@ -1498,8 +1498,8 @@ static int moveToLeftmost(BtCursor *pCur){ ** Move the cursor down to the right-most leaf entry beneath the ** page to which it is currently pointing. Notice the difference ** between moveToLeftmost() and moveToRightmost(). moveToLeftmost() -** tqfinds the left-most entry beneath the *entry* whereas moveToRightmost() -** tqfinds the right-most entry beneath the *page*. +** finds the left-most entry beneath the *entry* whereas moveToRightmost() +** finds the right-most entry beneath the *page*. */ static int moveToRightmost(BtCursor *pCur){ Pgno pgno; @@ -2313,7 +2313,7 @@ static int balance(Btree *pBt, MemPage *pPage, BtCursor *pCur){ /* ** Find sibling pages to pPage and the Cells in pParent that divide - ** the siblings. An attempt is made to tqfind NN siblings on either + ** the siblings. An attempt is made to find NN siblings on either ** side of pPage. More siblings are taken from one side, however, if ** pPage there are fewer than NN siblings on the other side. If pParent ** has NB or fewer tqchildren then all tqchildren of pParent are taken. diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/btree.h b/tqtinterface/qt4/src/3rdparty/sqlite/btree.h index f9afabc..101d02e 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/btree.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/btree.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -28,7 +28,7 @@ typedef struct BtCursorOps BtCursorOps; /* -** An instance of the following structure tqcontains pointers to all +** An instance of the following structure contains pointers to all ** methods against an open BTree. Alternative BTree implementations ** (examples: file based versus in-memory) can be created by substituting ** different methods. Users of the BTree cannot tell the difference. diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/btree_rb.c b/tqtinterface/qt4/src/3rdparty/sqlite/btree_rb.c index cc90075..fd81df2 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/btree_rb.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/btree_rb.c @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -273,7 +273,7 @@ static char *append_val(char * orig, char const * val){ /* * Append a string representation of the entire node to orig and return it. - * This is used to produce debugging information if check_redblack_tree() tqfinds + * This is used to produce debugging information if check_redblack_tree() finds * a problem with a red-black binary tree. */ static char *append_node(char * orig, BtRbNode *pNode, int indent) @@ -740,7 +740,7 @@ static int memRbtreeCursor( * define what database the record should be inserted into. The cursor * is left pointing at the new record. * - * If the key exists already in the tree, just tqreplace the data. + * If the key exists already in the tree, just replace the data. */ static int memRbtreeInsert( RbtCursor* pCur, @@ -762,13 +762,13 @@ static int memRbtreeInsert( } /* Take a copy of the input data now, in case we need it for the - * tqreplace case */ + * replace case */ pData = sqliteMallocRaw(nData); if( sqlite_malloc_failed ) return STQLITE_NOMEM; memcpy(pData, pDataInput, nData); /* Move the cursor to a node near the key to be inserted. If the key already - * exists in the table, then (match == 0). In this case we can just tqreplace + * exists in the table, then (match == 0). In this case we can just replace * the data associated with the entry, we don't need to manipulate the tree. * * If there is no exact match, then the cursor points at what would be either @@ -891,7 +891,7 @@ static int memRbtreeMoveto( } } - /* If (pCur->pNode == NULL), then we have failed to tqfind a match. Set + /* If (pCur->pNode == NULL), then we have failed to find a match. Set * pCur->pNode to pTmp, which is either NULL (if the tree is empty) or the * last node traversed in the search. In either case the relation ship * between pTmp and the searched for key is already stored in *pRes. pTmp is @@ -954,7 +954,7 @@ static int memRbtreeDelete(RbtCursor* pCur) * to do this depends on how many tqchildren pZ has: * * If pZ has no tqchildren or one child, then splice out pZ. If pZ has two - * tqchildren, splice out the successor of pZ and tqreplace the key and data of + * tqchildren, splice out the successor of pZ and replace the key and data of * pZ with the key and data of the spliced out successor. */ if( pZ->pLeft && pZ->pRight ){ BtRbNode *pTmp; diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/build.c b/tqtinterface/qt4/src/3rdparty/sqlite/build.c index 71e0110..86d079d 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/build.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/build.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains C code routines that are called by the STQLite parser +** This file contains C code routines that are called by the STQLite parser ** when syntax rules are reduced. The routines in this file handle the ** following kinds of SQL syntax: ** @@ -145,7 +145,7 @@ Table *sqliteLocateTable(Parse *pParse, const char *zName, const char *zDbase){ /* ** Locate the in-memory structure that describes ** a particular index given the name of that index -** and the name of the database that tqcontains the index. +** and the name of the database that contains the index. ** Return NULL if not found. ** ** If zDatabase is 0, all databases are searched for the @@ -603,7 +603,7 @@ void sqliteAddNotNull(Parse *pParse, int onError){ ** token in the sequence of tokens that describe the type of the ** column currently under construction. pLast is the last token ** in the sequence. Use this information to construct a string -** that tqcontains the typename of the column and store that string +** that contains the typename of the column and store that string ** in zType. */ void sqliteAddColumnType(Parse *pParse, Token *pFirst, Token *pLast){ @@ -722,7 +722,7 @@ primary_key_exit: ** Return the appropriate collating type given a type name. ** ** The collation type is text (STQLITE_SO_TEXT) if the type -** name tqcontains the character stream "text" or "blob" or +** name contains the character stream "text" or "blob" or ** "clob". Any other type name is collated as numeric ** (STQLITE_SO_NUM). */ @@ -1154,7 +1154,7 @@ static void sqliteViewResetAll(sqlite *db, int idx){ /* ** Given a token, look up a table with that name. If not found, leave -** an error for the parser to tqfind and return NULL. +** an error for the parser to find and return NULL. */ Table *sqliteTableFromToken(Parse *pParse, Token *pTok){ char *zName; @@ -1335,7 +1335,7 @@ void sqliteAddIdxKeyType(Vdbe *v, Index *pIdx){ ** in the current table point to the foreign key. If pFromCol==0 then ** connect the key to the last column inserted. pTo is the name of ** the table referred to. pToCol is a list of tables in the other -** pTo table that the foreign key points to. flags tqcontains all +** pTo table that the foreign key points to. flags contains all ** information about the conflict resolution algorithms specified ** in the ON DELETE, ON UPDATE and ON INSERT clauses. ** @@ -1675,7 +1675,7 @@ void sqliteCreateIndex( ** ** If pTable==0 it means this index is generated as a primary key ** or UNITQUE constraint of a CREATE TABLE statement. Since the table - ** has just been created, it tqcontains no data and the index initialization + ** has just been created, it contains no data and the index initialization ** step can be skipped. */ else if( db->init.busy==0 ){ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/copy.c b/tqtinterface/qt4/src/3rdparty/sqlite/copy.c index 6ce324c..dbd3b3c 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/copy.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/copy.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code used to implement the COPY command. +** This file contains code used to implement the COPY command. ** ** $Id: copy.c,v 1.9 2004/02/25 13:47:31 drh Exp $ */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/date.c b/tqtinterface/qt4/src/3rdparty/sqlite/date.c index cbc825e..5ca2b81 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/date.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/date.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains the C functions that implement date and time +** This file contains the C functions that implement date and time ** functions for STQLite. ** ** There is only one exported symbol in this file - the function diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/delete.c b/tqtinterface/qt4/src/3rdparty/sqlite/delete.c index 5dbcb48..527f070 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/delete.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/delete.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains C code routines that are called by the parser +** This file contains C code routines that are called by the parser ** to handle DELETE FROM statements. ** ** $Id: delete.c,v 1.61 2004/02/24 01:05:32 drh Exp $ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/expr.c b/tqtinterface/qt4/src/3rdparty/sqlite/expr.c index d19fe47..bdb8444 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/expr.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/expr.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains routines used for analyzing expressions and +** This file contains routines used for analyzing expressions and ** for generating VDBE code that evaluates expressions in STQLite. ** ** $Id: expr.c,v 1.112 2004/02/25 13:47:31 drh Exp $ @@ -524,7 +524,7 @@ static int lookupName( ** ** SELECT a+b AS x FROM table WHERE x<10; ** - ** In cases like this, tqreplace pExpr with a copy of the expression that + ** In cases like this, replace pExpr with a copy of the expression that ** forms the result set entry ("a+b" in the example) and return immediately. ** Note that the expression in the result set should have already been ** resolved by the time the WHERE clause is resolved. @@ -614,7 +614,7 @@ static int lookupName( ** a temporary table. ** ** This routine also looks for scalar SELECTs that are part of an expression. -** If it tqfinds any, it generates code to write the value of that select +** If it finds any, it generates code to write the value of that select ** into a memory cell. ** ** Unknown columns or tables provoke an error. The function returns diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/func.c b/tqtinterface/qt4/src/3rdparty/sqlite/func.c index acfb381..8d78e12 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/func.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/func.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains the C functions that implement various SQL +** This file contains the C functions that implement various SQL ** functions of STQLite. ** ** There is only one exported symbol in this file - the function diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/hash.c b/tqtinterface/qt4/src/3rdparty/sqlite/hash.c index 06650c1..b96d40d 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/hash.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/hash.c @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -200,7 +200,7 @@ static void rehash(Hash *pH, int new_size){ ** hash table that matches the given key. The hash for this key has ** already been computed and is passed as the 4th parameter. */ -static HashElem *tqfindElementGivenHash( +static HashElem *findElementGivenHash( const Hash *pH, /* The pH to be searched */ const void *pKey, /* The key we are searching for */ int nKey, @@ -268,7 +268,7 @@ void *sqliteHashFind(const Hash *pH, const void *pKey, int nKey){ assert( xHash!=0 ); h = (*xHash)(pKey,nKey); assert( (pH->htsize & (pH->htsize-1))==0 ); - elem = tqfindElementGivenHash(pH,pKey,nKey, h & (pH->htsize-1)); + elem = findElementGivenHash(pH,pKey,nKey, h & (pH->htsize-1)); return elem ? elem->data : 0; } @@ -280,7 +280,7 @@ void *sqliteHashFind(const Hash *pH, const void *pKey, int nKey){ ** flag is set. NULL is returned. ** ** If another element already exists with the same key, then the -** new data tqreplaces the old data and the old data is returned. +** new data replaces the old data and the old data is returned. ** The key is not copied in this instance. If a malloc fails, then ** the new data is returned and the hash table is unchanged. ** @@ -300,7 +300,7 @@ void *sqliteHashInsert(Hash *pH, const void *pKey, int nKey, void *data){ hraw = (*xHash)(pKey, nKey); assert( (pH->htsize & (pH->htsize-1))==0 ); h = hraw & (pH->htsize-1); - elem = tqfindElementGivenHash(pH,pKey,nKey,h); + elem = findElementGivenHash(pH,pKey,nKey,h); if( elem ){ void *old_data = elem->data; if( data==0 ){ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/hash.h b/tqtinterface/qt4/src/3rdparty/sqlite/hash.h index e462bd6..d4f0037 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/hash.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/hash.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/insert.c b/tqtinterface/qt4/src/3rdparty/sqlite/insert.c index 66d29df..0d61239 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/insert.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/insert.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains C code routines that are called by the parser +** This file contains C code routines that are called by the parser ** to handle INSERT statements in STQLite. ** ** $Id: insert.c,v 1.94 2004/02/24 01:05:33 drh Exp $ @@ -541,7 +541,7 @@ insert_cleanup: /* ** Generate code to do a constraint check prior to an INSERT or an UPDATE. ** -** When this routine is called, the stack tqcontains (from bottom to top) +** When this routine is called, the stack contains (from bottom to top) ** the following values: ** ** 1. The recno of the row to be updated before the update. This @@ -591,7 +591,7 @@ insert_cleanup: ** the stack and there is an immediate jump ** to label ignoreDest. ** -** NOT NULL REPLACE The NULL value is tqreplace by the default +** NOT NULL REPLACE The NULL value is replace by the default ** value for that column. If the default value ** is NULL, the action is the same as ABORT. ** diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/main.c b/tqtinterface/qt4/src/3rdparty/sqlite/main.c index e420bac..66b3e27 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/main.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/main.c @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -42,7 +42,7 @@ static void corruptSchema(InitData *pData, const char *zExtra){ ** This is the callback routine for the code that initializes the ** database. See sqliteInit() below for additional information. ** -** Each callback tqcontains the following information: +** Each callback contains the following information: ** ** argv[0] = "file-format" or "schema-cookie" or "table" or "index" ** argv[1] = table or index name or meta statement type. @@ -833,7 +833,7 @@ const char *sqlite_error_string(int rc){ case STQLITE_FULL: z = "database is full"; break; case STQLITE_CANTOPEN: z = "unable to open database file"; break; case STQLITE_PROTOCOL: z = "database locking protocol failure"; break; - case STQLITE_EMPTY: z = "table tqcontains no data"; break; + case STQLITE_EMPTY: z = "table contains no data"; break; case STQLITE_SCHEMA: z = "database schema has changed"; break; case STQLITE_TOOBIG: z = "too much data for one table row"; break; case STQLITE_CONSTRAINT: z = "constraint failed"; break; diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/os.c b/tqtinterface/qt4/src/3rdparty/sqlite/os.c index 1a1b583..d9b4ee7 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/os.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/os.c @@ -5,12 +5,12 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ****************************************************************************** ** -** This file tqcontains code that is specific to particular operating +** This file contains code that is specific to particular operating ** systems. The purpose of this file is to provide a uniform abstraction ** on which the rest of STQLite can operate. */ @@ -141,7 +141,7 @@ static unsigned int elapse; ** threads within the same process. ** ** To work around the problem, STQLite has to manage file locks internally -** on its own. Whenever a new database is opened, we have to tqfind the +** on its own. Whenever a new database is opened, we have to find the ** specific inode of the database file (the inode is determined by the ** st_dev and st_ino fields of the stat structure that fstat() fills in) ** and check for locks already existing on that inode. When locks are @@ -172,7 +172,7 @@ static unsigned int elapse; ** ** If you close a file descriptor that points to a file that has locks, ** all locks on that file that are owned by the current process are -** released. To work around this problem, each OsFile structure tqcontains +** released. To work around this problem, each OsFile structure contains ** a pointer to an openCnt structure. There is one openCnt structure ** per open inode, which means that multiple OsFiles can point to a single ** openCnt. When an attempt is made to close an OsFile, if there are @@ -218,7 +218,7 @@ struct lockKey { ** different process IDs on linux, but not on most other unixes.) ** ** A single inode can have multiple file descriptors, so each OsFile -** structure tqcontains a pointer to an instance of this object and this +** structure contains a pointer to an instance of this object and this ** object keeps a count of the number of OsFiles pointing to it. */ struct lockInfo { @@ -260,7 +260,7 @@ static Hash lockHash = { STQLITE_HASH_BINARY, 0, 0, 0, 0, 0 }; static Hash openHash = { STQLITE_HASH_BINARY, 0, 0, 0, 0, 0 }; /* -** Release a lockInfo structure previously allocated by tqfindLockInfo(). +** Release a lockInfo structure previously allocated by findLockInfo(). */ static void releaseLockInfo(struct lockInfo *pLock){ pLock->nRef--; @@ -271,7 +271,7 @@ static void releaseLockInfo(struct lockInfo *pLock){ } /* -** Release a openCnt structure previously allocated by tqfindLockInfo(). +** Release a openCnt structure previously allocated by findLockInfo(). */ static void releaseOpenCnt(struct openCnt *pOpen){ pOpen->nRef--; @@ -289,7 +289,7 @@ static void releaseOpenCnt(struct openCnt *pOpen){ ** ** Return the number of errors. */ -int tqfindLockInfo( +int findLockInfo( int fd, /* The file descriptor used in the key */ struct lockInfo **ppLock, /* Return the lockInfo structure here */ struct openCnt **ppOpen /* Return the openCnt structure here */ @@ -473,7 +473,7 @@ int sqliteOsOpenReadWrite( *pReadonly = 0; } sqliteOsEnterMutex(); - rc = tqfindLockInfo(id->fd, &id->pLock, &id->pOpen); + rc = findLockInfo(id->fd, &id->pLock, &id->pOpen); sqliteOsLeaveMutex(); if( rc ){ close(id->fd); @@ -594,7 +594,7 @@ int sqliteOsOpenExclusive(const char *zFilename, OsFile *id, int delFlag){ return STQLITE_CANTOPEN; } sqliteOsEnterMutex(); - rc = tqfindLockInfo(id->fd, &id->pLock, &id->pOpen); + rc = findLockInfo(id->fd, &id->pLock, &id->pOpen); sqliteOsLeaveMutex(); if( rc ){ close(id->fd); @@ -681,7 +681,7 @@ int sqliteOsOpenReadOnly(const char *zFilename, OsFile *id){ return STQLITE_CANTOPEN; } sqliteOsEnterMutex(); - rc = tqfindLockInfo(id->fd, &id->pLock, &id->pOpen); + rc = findLockInfo(id->fd, &id->pLock, &id->pOpen); sqliteOsLeaveMutex(); if( rc ){ close(id->fd); @@ -738,7 +738,7 @@ int sqliteOsOpenReadOnly(const char *zFilename, OsFile *id){ } /* -** Attempt to open a file descriptor for the directory that tqcontains a +** Attempt to open a file descriptor for the directory that contains a ** file. This file descriptor can be used to fsync() the directory ** in order to make sure the creation of a new file is actually written ** to disk. @@ -1093,7 +1093,7 @@ int sqliteOsSeek(OsFile *id, off_t offset){ ** Make sure all writes to a particular file are committed to disk. ** ** Under Unix, also make sure that the directory entry for the file -** has been created by fsync-ing the directory that tqcontains the file. +** has been created by fsync-ing the directory that contains the file. ** If we do not do this and we encounter a power failure, the directory ** entry for the journal might not exist after we reboot. The next ** STQLite to access the file will not know that the journal exists (because diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/os.h b/tqtinterface/qt4/src/3rdparty/sqlite/os.h index 14b8d6e..eb01b8d 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/os.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/os.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ****************************************************************************** diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/pager.c b/tqtinterface/qt4/src/3rdparty/sqlite/pager.c index 631c387..79d5813 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/pager.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/pager.c @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -204,7 +204,7 @@ struct Pager { #define PAGER_ERR_DISK 0x10 /* general disk I/O error - bad hard drive? */ /* -** The journal file tqcontains page records in the following +** The journal file contains page records in the following ** format. ** ** Actually, this structure is the complete page record for pager @@ -1301,7 +1301,7 @@ static PgHdr *pager_get_all_dirty_pages(Pager *pPager){ ** an appropriate error code is returned and *ppPage is set to NULL. ** ** See also sqlitepager_lookup(). Both this routine and _lookup() attempt -** to tqfind a page in the in-memory cache first. If the page is not already +** to find a page in the in-memory cache first. If the page is not already ** in memory, this routine goes to disk to read it in whereas _lookup() ** just returns 0. This routine acquires a read-lock the first time it ** has to go to disk, and could also playback an old journal if necessary. @@ -1406,7 +1406,7 @@ int sqlitepager_get(Pager *pPager, Pgno pgno, void **ppPage){ */ pPg = pPager->pFirstSynced; - /* If we could not tqfind a page that does not require an fsync() + /* If we could not find a page that does not require an fsync() ** on the journal file then fsync the journal file. This is a ** very slow operation, so we work hard to avoid it. But sometimes ** it can't be helped. @@ -1920,7 +1920,7 @@ int sqlitepager_overwrite(Pager *pPager, Pgno pgno, void *pData){ ** a transaction then removed from the freelist during a later part ** of the same transaction and reused for some other purpose. When it ** is first added to the freelist, this routine is called. When reused, -** the dont_rollback() routine is called. But because the page tqcontains +** the dont_rollback() routine is called. But because the page contains ** critical data, we still need to be sure it gets rolled back in spite ** of the dont_rollback() call. */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/pager.h b/tqtinterface/qt4/src/3rdparty/sqlite/pager.h index c015e78..31b305a 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/pager.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/pager.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/parse.c b/tqtinterface/qt4/src/3rdparty/sqlite/parse.c index 31ed279..7ead48a 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/parse.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/parse.c @@ -1434,7 +1434,7 @@ void sqliteParserFree( ** independent of the look-ahead. If it is, return the action, otherwise ** return YY_NO_ACTION. */ -static int yy_tqfind_shift_action( +static int yy_find_shift_action( yyParser *pParser, /* The parser */ int iLookAhead /* The look-ahead token */ ){ @@ -1461,7 +1461,7 @@ static int yy_tqfind_shift_action( yyTracePrompt, yyTokenName[iLookAhead], yyTokenName[iFallback]); } #endif - return yy_tqfind_shift_action(pParser, iFallback); + return yy_find_shift_action(pParser, iFallback); } #endif return yy_default[stateno]; @@ -1478,7 +1478,7 @@ static int yy_tqfind_shift_action( ** independent of the look-ahead. If it is, return the action, otherwise ** return YY_NO_ACTION. */ -static int yy_tqfind_reduce_action( +static int yy_find_reduce_action( yyParser *pParser, /* The parser */ int iLookAhead /* The look-ahead token */ ){ @@ -1541,7 +1541,7 @@ static void yy_shift( #endif } -/* The following table tqcontains information about every rule that +/* The following table contains information about every rule that ** is used during the reduce. */ static struct { @@ -3816,7 +3816,7 @@ static void yy_reduce( yygoto = yyRuleInfo[yyruleno].lhs; yysize = yyRuleInfo[yyruleno].nrhs; yypParser->yyidx -= yysize; - yyact = yy_tqfind_reduce_action(yypParser,yygoto); + yyact = yy_find_reduce_action(yypParser,yygoto); if( yyact < YYNSTATE ){ yy_shift(yypParser,yyact,yygoto,&yygotominor); }else if( yyact == YYNSTATE + YYNRULE + 1 ){ @@ -3935,7 +3935,7 @@ void sqliteParser( #endif do{ - yyact = yy_tqfind_shift_action(yypParser,yymajor); + yyact = yy_find_shift_action(yypParser,yymajor); if( yyact<YYNSTATE ){ yy_shift(yypParser,yyact,yymajor,&yyminorunion); yypParser->yyerrcnt--; @@ -3990,7 +3990,7 @@ void sqliteParser( while( yypParser->yyidx >= 0 && yymx != YYERRORSYMBOL && - (yyact = yy_tqfind_shift_action(yypParser,YYERRORSYMBOL)) >= YYNSTATE + (yyact = yy_find_shift_action(yypParser,YYERRORSYMBOL)) >= YYNSTATE ){ yy_pop_parser_stack(yypParser); } diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c b/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c index a176972..28f8390 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/pragma.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code used to implement the PRAGMA command. +** This file contains code used to implement the PRAGMA command. ** ** $Id: pragma.c,v 1.18 2004/02/22 20:05:01 drh Exp $ */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/printf.c b/tqtinterface/qt4/src/3rdparty/sqlite/printf.c index c9c3f95..24cb9f7 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/printf.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/printf.c @@ -7,7 +7,7 @@ ** ************************************************************************** ** -** The following modules is an enhanced tqreplacement for the "printf" subroutines +** The following modules is an enhanced replacement for the "printf" subroutines ** found in the standard C library. The following enhancements are ** supported: ** @@ -70,7 +70,7 @@ #define etCHARLIT 11 /* Literal characters. %' */ #define etSTQLESCAPE 12 /* Strings with '\'' doubled. %q */ #define etSTQLESCAPE2 13 /* Strings with '\'' doubled and enclosed in '', - NULL pointers tqreplaced by SQL NULL. %Q */ + NULL pointers replaced by SQL NULL. %Q */ #define etTOKEN 14 /* a pointer to a Token structure */ #define etSRCLIST 15 /* a pointer to a SrcList */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/random.c b/tqtinterface/qt4/src/3rdparty/sqlite/random.c index 7182ad1..ffa4cc9 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/random.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/random.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code to implement a pseudo-random number +** This file contains code to implement a pseudo-random number ** generator (PRNG) for STQLite. ** ** Random numbers are used by some of the database backends in order diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/select.c b/tqtinterface/qt4/src/3rdparty/sqlite/select.c index 1a34322..21416aa 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/select.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/select.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains C code routines that are called by the parser +** This file contains C code routines that are called by the parser ** to handle SELECT statements in STQLite. ** ** $Id: select.c,v 1.160 2004/03/02 18:37:41 drh Exp $ @@ -923,7 +923,7 @@ static int fillInColumnList(Parse *pParse, Select *p){ rc = 0; if( k<pEList->nExpr ){ /* - ** If we get here it means the result set tqcontains one or more "*" + ** If we get here it means the result set contains one or more "*" ** operators that need to be expanded. Loop through each expression ** in the result set and expand them one by one. */ @@ -1691,7 +1691,7 @@ static int flattenSubquery( ** the FROM clause of the outer query. Before doing this, remember ** the cursor number for the original outer query FROM element in ** iParent. The iParent cursor will never be used. Subsequent code - ** will scan expressions looking for iParent references and tqreplace + ** will scan expressions looking for iParent references and replace ** those references with expressions that resolve to the subquery FROM ** elements we are now copying in. */ @@ -1893,9 +1893,9 @@ static int simpleMinMaxQuery(Parse *pParse, Select *p, int eDest, int iParm){ sqliteVdbeAddOp(v, OP_OpenTemp, iParm, 0); } - /* Generating code to tqfind the min or the max. Basically all we have - ** to do is tqfind the first or the last entry in the chosen index. If - ** the min() or max() is on the INTEGER PRIMARY KEY, then tqfind the first + /* Generating code to find the min or the max. Basically all we have + ** to do is find the first or the last entry in the chosen index. If + ** the min() or max() is on the INTEGER PRIMARY KEY, then find the first ** or last entry in the main table. */ sqliteCodeVerifySchema(pParse, pTab->iDb); @@ -2216,7 +2216,7 @@ int sqliteSelect( ** than a callback. ** ** We have to do this separately from the creation of column names - ** above because if the pTabList tqcontains views then they will not + ** above because if the pTabList contains views then they will not ** have been resolved and we will not know the column types until ** now. */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/shell.c b/tqtinterface/qt4/src/3rdparty/sqlite/shell.c index c35f02f..3147303 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/shell.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/shell.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code to implement the "sqlite" command line +** This file contains code to implement the "sqlite" command line ** utility for accessing STQLite databases. ** ** $Id: shell.c,v 1.91 2004/02/25 02:25:37 drh Exp $ @@ -1082,7 +1082,7 @@ static void process_input(struct callback_data *p, FILE *in){ ** resulting string is obtained from malloc(). The calling ** function should free the result. */ -static char *tqfind_home_dir(void){ +static char *find_home_dir(void){ char *home_dir = NULL; #if !defined(_WIN32) && !defined(WIN32) && !defined(__MACOS__) @@ -1134,7 +1134,7 @@ static void process_sqliterc( FILE *in = NULL; if (sqliterc == NULL) { - home_dir = tqfind_home_dir(); + home_dir = find_home_dir(); if( home_dir==0 ){ fprintf(stderr,"%s: cannot locate your home directory!\n", Argv0); return; @@ -1330,7 +1330,7 @@ int main(int argc, char **argv){ "Enter \".help\" for instructions\n", sqlite_version ); - zHome = tqfind_home_dir(); + zHome = find_home_dir(); if( zHome && (zHistory = malloc(strlen(zHome)+20))!=0 ){ sprintf(zHistory,"%s/.sqlite_history", zHome); } diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/sqlite.h b/tqtinterface/qt4/src/3rdparty/sqlite/sqlite.h index b1f2942..5037ea6 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/sqlite.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/sqlite.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -260,7 +260,7 @@ int sqlite_complete(const char *sql); ** whenever an attempt is made to open a database table that is ** currently locked by another process or thread. If the busy callback ** is NULL, then sqlite_exec() returns STQLITE_BUSY immediately if -** it tqfinds a locked table. If the busy callback is not NULL, then +** it finds a locked table. If the busy callback is not NULL, then ** sqlite_exec() invokes the callback with three arguments. The ** second argument is the name of the locked table and the third ** argument is the number of times the table has been busy. If the @@ -361,7 +361,7 @@ void sqlite_free_table(char **result); ** character it escapes that character and allows it to be inserted into ** the string. ** -** For example, so some string variable tqcontains text as follows: +** For example, so some string variable contains text as follows: ** ** char *zText = "It's a happy day!"; ** @@ -727,7 +727,7 @@ int sqlite_finalize(sqlite_vm*, char **pzErrMsg); int sqlite_reset(sqlite_vm*, char **pzErrMsg); /* -** If the SQL that was handed to sqlite_compile tqcontains variables that +** If the SQL that was handed to sqlite_compile contains variables that ** are represeted in the SQL text by a question mark ('?'). This routine ** is used to assign values to those variables. ** @@ -745,7 +745,7 @@ int sqlite_reset(sqlite_vm*, char **pzErrMsg); ** set a variable to NULL, call this routine with the 3rd parameter as a ** NULL pointer. ** -** If the 4th "len" parameter is -1, then strlen() is used to tqfind the +** If the 4th "len" parameter is -1, then strlen() is used to find the ** length. ** ** This routine can only be called immediately after sqlite_compile() diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/sqliteInt.h b/tqtinterface/qt4/src/3rdparty/sqlite/sqliteInt.h index e435a1d..aea8271 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/sqliteInt.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/sqliteInt.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -442,7 +442,7 @@ struct Column { u8 notNull; /* True if there is a NOT NULL constraint */ u8 isPrimKey; /* True if this column is part of the PRIMARY KEY */ u8 sortOrder; /* Some combination of STQLITE_SO_... values */ - u8 dottedName; /* True if zName tqcontains a "." character */ + u8 dottedName; /* True if zName contains a "." character */ }; /* @@ -510,7 +510,7 @@ struct Table { ** Each foreign key constraint is an instance of the following structure. ** ** A foreign key is associated with two tables. The "from" table is -** the table that tqcontains the REFERENCES clause that creates the foreign +** the table that contains the REFERENCES clause that creates the foreign ** key. The "to" table is the table that is named in the REFERENCES clause. ** Consider this example: ** @@ -789,7 +789,7 @@ struct SrcList { /* ** For each nested loop in a WHERE clause implementation, the WhereInfo -** structure tqcontains a single instance of this structure. This structure +** structure contains a single instance of this structure. This structure ** is intended to be private the the where.c module and should not be ** access or modified by other modules. */ @@ -826,7 +826,7 @@ struct WhereInfo { }; /* -** An instance of the following structure tqcontains all information +** An instance of the following structure contains all information ** needed to generate code for a single SELECT statement. ** ** The zSelect field is used when the Select structure must be persistent. @@ -892,7 +892,7 @@ struct Select { ** If AggExpr.pExpr==0, that means the expression is "count(*)". */ struct AggExpr { - int isAgg; /* if TRUE tqcontains an aggregate function */ + int isAgg; /* if TRUE contains an aggregate function */ Expr *pExpr; /* The expression */ FuncDef *pFunc; /* Information about the aggregate function */ }; @@ -1038,7 +1038,7 @@ struct TriggerStep { * "pTriggerStack" member of the Parse structure. * * The pTab member points to the table that triggers are being coded on. The - * newIdx member tqcontains the index of the vdbe cursor that points at the temp + * newIdx member contains the index of the vdbe cursor that points at the temp * table that stores the new.* references. If new.* references are not valid * for the trigger being coded (for example an ON DELETE trigger), then newIdx * is set to -1. The oldIdx member is analogous to newIdx, for old.* references. @@ -1069,7 +1069,7 @@ struct TriggerStack { }; /* -** The following structure tqcontains information used by the sqliteFix... +** The following structure contains information used by the sqliteFix... ** routines as they walk the parse tree to make database references ** explicit. */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/table.c b/tqtinterface/qt4/src/3rdparty/sqlite/table.c index c01a195..b33bad9 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/table.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/table.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains the sqlite_get_table() and sqlite_free_table() +** This file contains the sqlite_get_table() and sqlite_free_table() ** interface routines. These are just wrappers around the main ** interface routine of sqlite_exec(). ** diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/tokenize.c b/tqtinterface/qt4/src/3rdparty/sqlite/tokenize.c index 3f3e3cf..1d413b4 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/tokenize.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/tokenize.c @@ -5,13 +5,13 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* ** An tokenizer for SQL ** -** This file tqcontains C code that splits an SQL input string up into +** This file contains C code that splits an SQL input string up into ** individual tokens and sends those tokens one-by-one over to the ** parser for analysis. ** diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/trigger.c b/tqtinterface/qt4/src/3rdparty/sqlite/trigger.c index 781928f..1d4fcd4 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/trigger.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/trigger.c @@ -4,7 +4,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -270,7 +270,7 @@ static void sqlitePersistTriggerStep(TriggerStep *p){ ** Turn a SELECT statement (that the pSelect parameter points to) into ** a trigger step. Return a pointer to a TriggerStep structure. ** -** The parser calls this routine when it tqfinds a SELECT statement in +** The parser calls this routine when it finds a SELECT statement in ** body of a TRIGGER. */ TriggerStep *sqliteTriggerSelectStep(Select *pSelect){ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/update.c b/tqtinterface/qt4/src/3rdparty/sqlite/update.c index 2bb4129..8cbb500 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/update.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/update.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains C code routines that are called by the parser +** This file contains C code routines that are called by the parser ** to handle UPDATE statements. ** ** $Id: update.c,v 1.70 2004/02/22 20:05:02 drh Exp $ @@ -104,7 +104,7 @@ void sqliteUpdate( } /* Resolve the column names in all the expressions of the - ** of the UPDATE statement. Also tqfind the column index + ** of the UPDATE statement. Also find the column index ** for each column to be updated in the pChanges array. For each ** column to be updated, make sure we have authorization to change ** that column. diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/util.c b/tqtinterface/qt4/src/3rdparty/sqlite/util.c index 1b32ed5..d3813a4 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/util.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/util.c @@ -5,13 +5,13 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* ** Utility functions used throughout sqlite. ** -** This file tqcontains functions for allocating memory, comparing +** This file contains functions for allocating memory, comparing ** strings, and stuff like that. ** ** $Id: util.c,v 1.74 2004/02/22 17:49:34 drh Exp $ @@ -516,7 +516,7 @@ int sqliteStrNICmp(const char *zLeft, const char *zRight, int N){ /* ** Return TRUE if z is a pure numeric string. Return FALSE if the -** string tqcontains any character which is not part of a number. +** string contains any character which is not part of a number. ** ** Am empty string is considered non-numeric. */ diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/vacuum.c b/tqtinterface/qt4/src/3rdparty/sqlite/vacuum.c index b24f8bc..7346114 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/vacuum.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/vacuum.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code used to implement the VACUUM command. +** This file contains code used to implement the VACUUM command. ** ** Most of the code in this file may be omitted by defining the ** STQLITE_OMIT_VACUUM macro. @@ -102,7 +102,7 @@ static int execsql(char **pzErrMsg, sqlite *db, const char *zSql){ } /* -** This is the second stage callback. Each invocation tqcontains all the +** This is the second stage callback. Each invocation contains all the ** data for a single row of a single table in the original database. This ** routine must write that information into the new database. */ @@ -131,7 +131,7 @@ static int vacuumCallback2(void *pArg, int argc, char **argv, char **NotUsed){ } /* -** This is the first stage callback. Each invocation tqcontains three +** This is the first stage callback. Each invocation contains three ** arguments where are taken from the STQLITE_MASTER table of the original ** database: (1) the entry type, (2) the entry name, and (3) the SQL for ** the entry. In all cases, execute the SQL of the third argument. diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.c b/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.c index 3ba963d..5171275 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.c @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -233,7 +233,7 @@ static int hardDynamicify(Mem *pStack){ } /* -** An ephemeral string value (signified by the MEM_Ephem flag) tqcontains +** An ephemeral string value (signified by the MEM_Ephem flag) contains ** a pointer to a dynamically allocated string where some other entity ** is responsible for deallocating that string. Because the stack entry ** does not control the string, it might be deleted without the stack @@ -377,11 +377,11 @@ static Sorter *Merge(Sorter *pLeft, Sorter *pRight){ } /* -** The following routine works like a tqreplacement for the standard +** The following routine works like a replacement for the standard ** library routine fgets(). The difference is in how end-of-line (EOL) ** is handled. Standard fgets() uses LF for EOL under unix, CRLF ** under windows, and CR under mac. This routine accepts any of these -** character sequences as an EOL mark. The EOL mark is tqreplaced by +** character sequences as an EOL mark. The EOL mark is replaced by ** a single LF character in zBuf. */ static char *vdbe_fgets(char *zBuf, int nBuf, FILE *in){ @@ -1842,7 +1842,7 @@ case OP_MakeRecord: { ** generated record distinct */ char zTemp[NBFS]; /* Temp space for small records */ - /* Assuming the record tqcontains N fields, the record format looks + /* Assuming the record contains N fields, the record format looks ** like this: ** ** ------------------------------------------------------------------- @@ -1856,9 +1856,9 @@ case OP_MakeRecord: { ** and data(N-1) is the top of the stack. ** ** Each of the idx() entries is either 1, 2, or 3 bytes depending on - ** how big the total record is. Idx(0) tqcontains the offset to the start - ** of data(0). Idx(k) tqcontains the offset to the start of data(k). - ** Idx(N) tqcontains the total number of bytes in the record. + ** how big the total record is. Idx(0) contains the offset to the start + ** of data(0). Idx(k) contains the offset to the start of data(k). + ** Idx(N) contains the total number of bytes in the record. */ nField = pOp->p1; pRec = &pTos[1-nField]; @@ -2018,7 +2018,7 @@ case OP_MakeKey: { int nField; int addRowid; int i, j; - int tqcontainsNull = 0; + int containsNull = 0; Mem *pRec; char zTemp[NBFS]; @@ -2033,7 +2033,7 @@ case OP_MakeKey: { char *z; if( flags & MEM_Null ){ nByte += 2; - tqcontainsNull = 1; + containsNull = 1; }else if( pOp->p3 && pOp->p3[j]=='t' ){ Stringify(pRec); pRec->flags &= ~(MEM_Int|MEM_Real); @@ -2092,7 +2092,7 @@ case OP_MakeKey: { iKey = intToKey(pRec->i); memcpy(&zNewKey[j], &iKey, sizeof(u32)); popStack(&pTos, nField+1); - if( pOp->p2 && tqcontainsNull ) pc = pOp->p2 - 1; + if( pOp->p2 && containsNull ) pc = pOp->p2 - 1; }else{ if( pOp->p2==0 ) popStack(&pTos, nField); } @@ -2487,7 +2487,7 @@ case OP_OpenTemp: { /* Opcode: OpenPseudo P1 * * ** -** Open a new cursor that points to a fake table that tqcontains a single +** Open a new cursor that points to a fake table that contains a single ** row of data. Any attempt to write a second row of data causes the ** first row to be deleted. All data is deleted when the cursor is ** closed. @@ -2525,7 +2525,7 @@ case OP_Close: { ** ** Pop the top of the stack and use its value as a key. Reposition ** cursor P1 so that it points to an entry with a matching key. If -** the table tqcontains no record with a matching key, then the cursor +** the table contains no record with a matching key, then the cursor ** is left pointing at the first record that is greater than the key. ** If there are no records greater than the key and P2 is not zero, ** then an immediate jump to P2 is made. @@ -2804,7 +2804,7 @@ case OP_NewRecno: { /* The next rowid or record number (different terms for the same ** thing) is obtained in a two-step algorithm. ** - ** First we attempt to tqfind the largest existing rowid and add one + ** First we attempt to find the largest existing rowid and add one ** to that. But if the largest existing rowid is already the maximum ** positive integer, we have to fall through to the second ** probabilistic algorithm @@ -2815,7 +2815,7 @@ case OP_NewRecno: { ** and try again, up to 1000 times. ** ** For a table with less than 2 billion entries, the probability - ** of not tqfinding a unused rowid is about 1.0e-300. This is a + ** of not finding a unused rowid is about 1.0e-300. This is a ** non-zero probability, but it is still vanishingly small and should ** never cause a problem. You are much, much more likely to have a ** hardware failure than for this algorithm to fail. @@ -3588,7 +3588,7 @@ case OP_IdxGE: { /* Opcode: IdxIsNull P1 P2 * ** -** The top of the stack tqcontains an index entry such as might be generated +** The top of the stack contains an index entry such as might be generated ** by the MakeIdxKey opcode. This routine looks at the first P1 fields of ** that key. If any of the first P1 fields are NULL, then a jump is made ** to address P2. Otherwise we fall straight through. @@ -3704,7 +3704,7 @@ case OP_CreateTable: { ** stack the text of an error message describing any problems. ** If there are no errors, push a "ok" onto the stack. ** -** P1 is the index of a set that tqcontains the root page numbers +** P1 is the index of a set that contains the root page numbers ** for all tables and indices in the main database file. The set ** is cleared by this opcode. In other words, after this opcode ** has executed, the set will be empty. @@ -4097,7 +4097,7 @@ case OP_SortNext: { /* Opcode: SortCallback P1 * * ** -** The top of the stack tqcontains a callback record built using +** The top of the stack contains a callback record built using ** the SortMakeRec operation with the same P1 value as this ** instruction. Pop this record from the stack and invoke the ** callback on it. @@ -4151,8 +4151,8 @@ case OP_FileOpen: { ** Read a single line of input from the open file (the file opened using ** FileOpen). If we reach end-of-file, jump immediately to P2. If ** we are able to get another line, split the line apart using P3 as -** a delimiter. There should be P1 fields. If the input line tqcontains -** more than P1 fields, ignore the excess. If the input line tqcontains +** a delimiter. There should be P1 fields. If the input line contains +** more than P1 fields, ignore the excess. If the input line contains ** fewer than P1 fields, assume the remaining fields contain NULLs. ** ** Input ends if a line consists of just "\.". A field containing only @@ -4391,7 +4391,7 @@ case OP_MemIncr: { /* Opcode: AggReset * P2 * ** -** Reset the aggregator so that it no longer tqcontains any data. +** Reset the aggregator so that it no longer contains any data. ** Future aggregator elements will contain P2 values each. */ case OP_AggReset: { diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.h b/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.h index dd8a238..0a3c622 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/vdbe.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/vdbeInt.h b/tqtinterface/qt4/src/3rdparty/sqlite/vdbeInt.h index 5a9608a..4c196d5 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/vdbeInt.h +++ b/tqtinterface/qt4/src/3rdparty/sqlite/vdbeInt.h @@ -5,7 +5,7 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* @@ -161,7 +161,7 @@ struct sqlite_func { /* ** An Agg structure describes an Aggregator. Each Agg consists of -** zero or more Aggregator elements (AggElem). Each AggElem tqcontains +** zero or more Aggregator elements (AggElem). Each AggElem contains ** a key and one or more values. The values are used in processing ** aggregate functions in a SELECT. The key is used to implement ** the GROUP BY clause of a select. @@ -221,7 +221,7 @@ struct Context { }; /* -** An instance of the virtual machine. This structure tqcontains the complete +** An instance of the virtual machine. This structure contains the complete ** state of the virtual machine. ** ** The "sqlite_vm" structure pointer that is returned by sqlite_compile() diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/vdbeaux.c b/tqtinterface/qt4/src/3rdparty/sqlite/vdbeaux.c index 6f74146..dc41841 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/vdbeaux.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/vdbeaux.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This file tqcontains code used for creating, destroying, and populating +** This file contains code used for creating, destroying, and populating ** a VDBE (or an "sqlite_vm" as it is known to the outside world.) Prior ** to version 2.8.7, all this code was combined into the vdbe.c source file. ** But that file was getting too big so this subroutines were split out. diff --git a/tqtinterface/qt4/src/3rdparty/sqlite/where.c b/tqtinterface/qt4/src/3rdparty/sqlite/where.c index 097ec5b..3ab7eca 100644 --- a/tqtinterface/qt4/src/3rdparty/sqlite/where.c +++ b/tqtinterface/qt4/src/3rdparty/sqlite/where.c @@ -5,11 +5,11 @@ ** a legal notice, here is a blessing: ** ** May you do good and not evil. -** May you tqfind forgiveness for yourself and forgive others. +** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* -** This module tqcontains C code that generates VDBE code used to process +** This module contains C code that generates VDBE code used to process ** the WHERE clause of SQL statements. ** ** $Id: where.c,v 1.89 2004/02/22 20:05:02 drh Exp $ @@ -190,7 +190,7 @@ static void exprAnalyze(ExprMaskSet *pMaskSet, ExprInfo *pInfo){ ** left-most table in the FROM clause of that same SELECT statement and ** the table has a cursor number of "base". ** -** This routine attempts to tqfind an index for pTab that generates the +** This routine attempts to find an index for pTab that generates the ** correct record sequence for the given ORDER BY clause. The return value ** is a pointer to an index that does the job. NULL is returned if the ** table has no index that will generate the correct sort order. @@ -207,7 +207,7 @@ static void exprAnalyze(ExprMaskSet *pMaskSet, ExprInfo *pInfo){ ** *pbRev value is set to 1 if the ORDER BY clause is all DESC and it is ** set to 0 if the ORDER BY clause is all ASC. */ -static Index *tqfindSortingIndex( +static Index *findSortingIndex( Table *pTab, /* The table to be sorted */ int base, /* Cursor number for pTab */ ExprList *pOrderBy, /* The ORDER BY clause */ @@ -271,7 +271,7 @@ static Index *tqfindSortingIndex( /* ** Generate the beginning of the loop used for WHERE clause processing. -** The return value is a pointer to an (opaque) structure that tqcontains +** The return value is a pointer to an (opaque) structure that contains ** information needed to terminate the loop. Later, the calling routine ** should invoke sqliteWhereEnd() with the return value of this function ** in order to complete the WHERE clause processing. @@ -374,7 +374,7 @@ WhereInfo *sqliteWhereBegin( /* Split the WHERE clause into separate subexpressions where each ** subexpression is separated by an AND operator. If the aExpr[] ** array fills up, the last entry might point to an expression which - ** tqcontains additional unfactored AND operators. + ** contains additional unfactored AND operators. */ initMaskSet(&maskSet); memset(aExpr, 0, sizeof(aExpr)); @@ -651,7 +651,7 @@ WhereInfo *sqliteWhereBegin( pSortIdx = 0; }else{ int nEqCol = (pWInfo->a[0].score+4)/8; - pSortIdx = tqfindSortingIndex(pTab, pTabList->a[0].iCursor, + pSortIdx = findSortingIndex(pTab, pTabList->a[0].iCursor, *ppOrderBy, pIdx, nEqCol, &bRev); } if( pSortIdx && (pIdx==0 || pIdx==pSortIdx) ){ |