Home
last modified time | relevance | path

Searched refs:pSession (Results 1 – 5 of 5) sorted by relevance

/sqlite-3.40.0/ext/session/
H A Dsqlite3session.c446 if( pSession ) pSession->nMalloc += sqlite3_msize(pRet); in sessionMalloc64()
456 if( pSession ) pSession->nMalloc -= sqlite3_msize(pFree); in sessionFree()
1129 pSession->rc = sessionTableInfo(pSession, pSession->db, pSession->zDb, in sessionInitTable()
1223 pSession->hook.xNew(pSession->hook.pCtx, ii, &p); in sessionUpdateMaxSize()
1330 stat1.pSession = pSession; in sessionPreupdateOneChange()
1414 if( pSession->bIndirect || pSession->hook.xDepth(pSession->hook.pCtx) ){ in sessionPreupdateOneChange()
1425 if( pSession->hook.xDepth(pSession->hook.pCtx)==0 in sessionPreupdateOneChange()
1503 for(pSession=(sqlite3_session *)pCtx; pSession; pSession=pSession->pNext){ in xPreUpdate()
1547 pSession->hook.pCtx = (void*)pSession->db; in sessionPreupdateHooks()
1915 sessionDeleteTable(pSession, pSession->pTable); in sqlite3session_delete()
[all …]
H A Dsqlite3session.h80 void sqlite3session_delete(sqlite3_session *pSession);
133 int sqlite3session_enable(sqlite3_session *pSession, int bEnable);
163 int sqlite3session_indirect(sqlite3_session *pSession, int bIndirect);
224 sqlite3_session *pSession, /* Session object */
239 sqlite3_session *pSession, /* Session object */
353 sqlite3_session *pSession, /* Session object */
432 sqlite3_session *pSession,
469 sqlite3_session *pSession, /* Session object */
489 int sqlite3session_isempty(sqlite3_session *pSession);
1649 sqlite3_session *pSession,
[all …]
H A Dtest_session.c23 sqlite3_session *pSession; member
77 sqlite3_session *pSession = 0; in sql_exec_changeset() local
81 rc = sqlite3session_create(db, "main", &pSession); in sql_exec_changeset()
95 sqlite3session_delete(pSession); in sql_exec_changeset()
232 sqlite3_session *pSession = p->pSession; in test_session_cmd() local
273 rc = sqlite3session_attach(pSession, zArg); in test_session_cmd()
314 val = sqlite3session_enable(pSession, val); in test_session_cmd()
322 val = sqlite3session_indirect(pSession, val); in test_session_cmd()
329 val = sqlite3session_isempty(pSession); in test_session_cmd()
345 rc = sqlite3session_diff(pSession, in test_session_cmd()
[all …]
H A Dsession_speed_test.c216 sqlite3_session *pSession = 0; in run_test() local
224 rc = sqlite3session_create(db, "main", &pSession); in run_test()
228 rc = sqlite3session_attach(pSession, 0); in run_test()
248 rc = sqlite3session_changeset(pSession, &nChangeset, &pChangeset); in run_test()
258 sqlite3session_delete(pSession); in run_test()
/sqlite-3.40.0/src/
H A Dshell.c.in4727 sqlite3session_delete(pSession->p);
4728 sqlite3_free(pSession->zName);
4729 for(i=0; i<pSession->nFilter; i++){
4732 sqlite3_free(pSession->azFilter);
4761 for(i=0; i<pSession->nFilter; i++){
9717 if( pSession->p==0 ){
9772 session_close(pSession);
9804 if( pSession->azFilter==0 ){
9812 pSession->nFilter = ii-1;
9878 pSession->nFilter = 0;
[all …]