32 if (
rc != SQLITE_OK || !
db) {
33 if (
db) sqlite3_close(
db);
push_value(vm, make_int(h->id))
static SqlHandle * sql_reg_add(sqlite3 *db)
Add a sqlite3 handle to the registry.
Node in a singly-linked list of registered SQLite handles.
Tagged union representing a Fun value.
char * value_to_string_alloc(const Value *v)
Allocate a printable C string for a Value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.