Towards virtual tables.

This commit is contained in:
Nuno Cruces
2023-11-17 19:06:10 +00:00
parent 787086b8c1
commit 2c2f825bc5
7 changed files with 273 additions and 59 deletions

View File

@@ -223,4 +223,8 @@ int sqlite3_vtab_config_go(sqlite3 *db, int op, int constraint) {
static_assert(offsetof(struct go_module, base) == 4, "Unexpected offset");
static_assert(offsetof(struct go_vtab, base) == 4, "Unexpected offset");
static_assert(offsetof(struct go_cursor, base) == 4, "Unexpected offset");
static_assert(offsetof(struct go_cursor, base) == 4, "Unexpected offset");
static_assert(sizeof(struct sqlite3_index_info) == 72, "Unexpected size");
static_assert(sizeof(struct sqlite3_index_constraint) == 12, "Unexpected size");
static_assert(sizeof(struct sqlite3_index_constraint_usage) == 8, "Unexpected size");
static_assert(sizeof(struct sqlite3_index_orderby) == 8, "Unexpected size");