Skip to content

Instantly share code, notes, and snippets.

@mattrco
Created October 10, 2012 19:33
Show Gist options
  • Save mattrco/3867884 to your computer and use it in GitHub Desktop.
Save mattrco/3867884 to your computer and use it in GitHub Desktop.
Selected attributes of struct Vdbe from VdbeInt.h
struct Vdbe {
sqlite3 *db; /* The database connection that owns this statement */
Op *aOp; /* Space to hold the virtual machine's program */
Mem *aMem; /* The memory locations */
Mem **apArg; /* Arguments to currently executing user function */
Mem *aColName; /* Column names to return */
Mem *pResultSet; /* Pointer to an array of results */
int nMem; /* Number of memory locations currently allocated */
int nOp; /* Number of instructions in the program */
VdbeCursor **apCsr; /* One element of this array for each open cursor */
int pc; /* The program counter */
int rc; /* Value to return */
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment