MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / expertOpen

Function expertOpen

modules/dasSQLITE/sqlite/shell.c:10737–10744  ·  view source on GitHub ↗

** Virtual table module xOpen method. */

Source from the content-addressed store, hash-verified

10735** Virtual table module xOpen method.
10736*/
10737static int expertOpen(sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor){
10738 int rc = SQLITE_OK;
10739 ExpertCsr *pCsr;
10740 (void)pVTab;
10741 pCsr = idxMalloc(&rc, sizeof(ExpertCsr));
10742 *ppCursor = (sqlite3_vtab_cursor*)pCsr;
10743 return rc;
10744}
10745
10746/*
10747** Virtual table module xClose method.

Callers

nothing calls this directly

Calls 1

idxMallocFunction · 0.85

Tested by

no test coverage detected