Searched refs:pCx (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/libsqlite/src/ |
H A D | vdbeaux.c | 733 void sqliteVdbeCleanupCursor(Cursor *pCx){ in sqliteVdbeCleanupCursor() argument 734 if( pCx->pCursor ){ in sqliteVdbeCleanupCursor() 735 sqliteBtreeCloseCursor(pCx->pCursor); in sqliteVdbeCleanupCursor() 737 if( pCx->pBt ){ in sqliteVdbeCleanupCursor() 738 sqliteBtreeClose(pCx->pBt); in sqliteVdbeCleanupCursor() 740 sqliteFree(pCx->pData); in sqliteVdbeCleanupCursor() 741 memset(pCx, 0, sizeof(Cursor)); in sqliteVdbeCleanupCursor()
|
H A D | vdbe.c | 2473 Cursor *pCx; in sqliteVdbeExec() local 2476 pCx = &p->aCsr[i]; in sqliteVdbeExec() 2477 sqliteVdbeCleanupCursor(pCx); in sqliteVdbeExec() 2478 memset(pCx, 0, sizeof(*pCx)); in sqliteVdbeExec() 2479 pCx->nullRow = 1; in sqliteVdbeExec() 2480 rc = sqliteBtreeFactory(db, 0, 1, TEMP_PAGES, &pCx->pBt); in sqliteVdbeExec() 2483 rc = sqliteBtreeBeginTrans(pCx->pBt); in sqliteVdbeExec() 2488 rc = sqliteBtreeCreateIndex(pCx->pBt, &pgno); in sqliteVdbeExec() 2490 rc = sqliteBtreeCursor(pCx->pBt, pgno, 1, &pCx->pCursor); in sqliteVdbeExec() 2493 rc = sqliteBtreeCursor(pCx->pBt, 2, 1, &pCx->pCursor); in sqliteVdbeExec() [all …]
|