mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Fix check_csync_update
Commit 8160963110
changed the
SQL requests from csync to read from the checksumtype table.
So we need to add this table in the fake DB as well
This commit is contained in:
parent
946c6967e9
commit
30095a0c3f
1 changed files with 7 additions and 0 deletions
|
@ -52,6 +52,13 @@ static void statedb_create_metadata_table(sqlite3 *db)
|
|||
rc = sqlite3_exec(db, sql, NULL, NULL, NULL);
|
||||
//const char *msg = sqlite3_errmsg(db);
|
||||
assert_int_equal( rc, SQLITE_OK );
|
||||
|
||||
sql = "CREATE TABLE IF NOT EXISTS checksumtype("
|
||||
"id INTEGER PRIMARY KEY,"
|
||||
"name TEXT UNIQUE"
|
||||
");";
|
||||
rc = sqlite3_exec(db, sql, NULL, NULL, NULL);
|
||||
assert_int_equal( rc, SQLITE_OK );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue