mirror of
https://github.com/SirHumza/orbisRPC.git
synced 2026-10-06 11:00:57 +02:00
fix(ci): call sqlite3_initialize() before open_v2 on the ubuntu runner
This commit is contained in:
1 parent
be4da6b4ce
commit
2b277065ec
1 file changed
+1
@@ -455,6 +455,7 @@ static void test_appdb(void) {
|
||||
snprintf(meta, sizeof meta, "%s/appmeta", dir);
|
||||
assert(mkdir(meta, 0700) == 0);
|
||||
sqlite3 *s = NULL;
|
||||
(void)sqlite3_initialize();
|
||||
assert(sqlite3_open_v2(db, &s, SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE, NULL) == SQLITE_OK);
|
||||
assert(sqlite3_exec(s, "CREATE TABLE tbl_appbrowse(titleId TEXT, titleName TEXT);", 0, 0, 0) == SQLITE_OK);
|
||||
assert(sqlite3_exec(s, "INSERT INTO tbl_appbrowse VALUES('CUSA11995','Marvel''s Spider-Man');", 0, 0, 0) == SQLITE_OK);
|
||||
|
||||
Reference in new issue
Block a user