Don't try to insert maps if there are none

This commit is contained in:
2020-10-15 12:07:16 +01:00
parent f0df7a64bb
commit 35091141f5

View File

@@ -414,6 +414,10 @@ int64_t syncIdMap(struct stored_conn_t *sconn, const char *table, size_t table_l
return qry_ret; return qry_ret;
} }
if (n_maps == 0) {
return 1;
}
if ((sb = strbld_create()) == 0) { if ((sb = strbld_create()) == 0) {
return -1; return -1;
} }