Don't try to insert maps if there are none

This commit is contained in:
bwilliams committed 2020-10-15 12:07:16 +01:00
1 parent f0df7a64bb
commit 35091141f5
1 file changed
+4
+4
View File
@@ -414,6 +414,10 @@ int64_t syncIdMap(struct stored_conn_t *sconn, const char *table, size_t table_l
return qry_ret;
}
if (n_maps == 0) {
return 1;
}
if ((sb = strbld_create()) == 0) {
return -1;
}