summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kexisql3/src/btree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/3rdparty/kexisql3/src/btree.c')
-rw-r--r--kexi/3rdparty/kexisql3/src/btree.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/3rdparty/kexisql3/src/btree.c b/kexi/3rdparty/kexisql3/src/btree.c
index 65cddcd4b..fb54c9c4a 100644
--- a/kexi/3rdparty/kexisql3/src/btree.c
+++ b/kexi/3rdparty/kexisql3/src/btree.c
@@ -2080,7 +2080,7 @@ int sqlite3BtreeCommitStmt(Btree *pBt){
** Rollback the active statement subtransaction. If no subtransaction
** is active this routine is a no-op.
**
-** All cursors will be tqinvalidated by this operation. Any attempt
+** All cursors will be invalidated by this operation. Any attempt
** to use a cursor that was open at the beginning of this operation
** will result in an error.
*/
@@ -3670,9 +3670,9 @@ static int balance_quick(MemPage *pPage, MemPage *pParent){
int szCell;
CellInfo info;
Btree *pBt = pPage->pBt;
- int tqparentIdx = pParent->nCell; /* pParent new divider cell index */
- int tqparentSize; /* Size of new divider cell */
- u8 tqparentCell[64]; /* Space for the new divider cell */
+ int parentIdx = pParent->nCell; /* pParent new divider cell index */
+ int parentSize; /* Size of new divider cell */
+ u8 parentCell[64]; /* Space for the new divider cell */
/* Allocate a new page. Insert the overflow cell from pPage
** into it. Then remove the overflow cell from pPage.
@@ -3697,16 +3697,16 @@ static int balance_quick(MemPage *pPage, MemPage *pParent){
*/
assert( pPage->nCell>0 );
parseCellPtr(pPage, findCell(pPage, pPage->nCell-1), &info);
- rc = fillInCell(pParent, tqparentCell, 0, info.nKey, 0, 0, &tqparentSize);
+ rc = fillInCell(pParent, parentCell, 0, info.nKey, 0, 0, &parentSize);
if( rc!=SQLITE_OK ){
return rc;
}
- assert( tqparentSize<64 );
- rc = insertCell(pParent, tqparentIdx, tqparentCell, tqparentSize, 0, 4);
+ assert( parentSize<64 );
+ rc = insertCell(pParent, parentIdx, parentCell, parentSize, 0, 4);
if( rc!=SQLITE_OK ){
return rc;
}
- put4byte(findOverflowCell(pParent,tqparentIdx), pPage->pgno);
+ put4byte(findOverflowCell(pParent,parentIdx), pPage->pgno);
put4byte(&pParent->aData[pParent->hdrOffset+8], pgnoNew);
#ifndef SQLITE_OMIT_AUTOVACUUM