diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-03-13 23:59:29 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-03-13 23:59:29 (GMT) |
commit | 8d8e5c02096f59a7227308a591fc5050ea5d92ff (patch) | |
tree | 15b5bc10b963d492d4393b83ccfd347230d6b41e /src/analysis/db/items/bookmark.c | |
parent | bde67ccf58fc858d5d0db4929db149ea12f50f96 (diff) |
Given more flexibility to the field names of locations in XML databases.
Diffstat (limited to 'src/analysis/db/items/bookmark.c')
-rw-r--r-- | src/analysis/db/items/bookmark.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/db/items/bookmark.c b/src/analysis/db/items/bookmark.c index 4c93faf..c8da383 100644 --- a/src/analysis/db/items/bookmark.c +++ b/src/analysis/db/items/bookmark.c @@ -510,7 +510,7 @@ static bool g_db_bookmark_prepare_db_statement(const GDbBookmark *bookmark, boun status = G_DB_ITEM_CLASS(g_db_bookmark_parent_class)->prepare_stmt(G_DB_ITEM(bookmark), values, count); if (!status) return false; - status = prepare_vmpa_db_statement(&bookmark->addr, values, count); + status = prepare_vmpa_db_statement(&bookmark->addr, NULL, values, count); if (!status) return false; status &= prepare_db_statement_for_rle_string(&bookmark->comment, "comment", values, count); @@ -541,7 +541,7 @@ static bool g_db_bookmark_load(GDbBookmark *bookmark, const bound_value *values, result = G_DB_ITEM_CLASS(g_db_bookmark_parent_class)->load(G_DB_ITEM(bookmark), values, count); - result &= load_vmpa(&bookmark->addr, values, count); + result &= load_vmpa(&bookmark->addr, NULL, values, count); result &= load_rle_string(&bookmark->comment, "comment", values, count); @@ -752,7 +752,7 @@ static bool g_bookmark_collection_create_db_table(const GBookmarkCollection *col sql = "CREATE TABLE Bookmarks (" \ SQLITE_DB_ITEM_CREATE ", " \ - SQLITE_VMPA_CREATE ", " \ + SQLITE_SIMPLE_VMPA_CREATE ", " \ SQLITE_RLESTR_CREATE("comment") \ ");"; @@ -790,7 +790,7 @@ static bool g_bookmark_collection_setup_load(GBookmarkCollection *collec, bound_ values, count); if (!status) return false; - if (!setup_load_for_vmpa(NULL, values, count)) + if (!setup_load_for_vmpa(NULL, NULL, values, count)) return false; if (!setup_load_of_rle_string(NULL, "comment", values, count)) |