Removed other datastore options than cached

Marked `CLICON_DATASTORE_CACHE` as obsolete
This commit is contained in:
Olof hagsand 2024-01-31 17:50:12 +01:00
parent bca315ef9d
commit 9989ee4d52
13 changed files with 75 additions and 530 deletions

View file

@ -93,7 +93,6 @@ db_merge(clixon_handle h,
/* Merge xml into db2. Without commit */
retval = xmldb_put(h, (char*)db2, OP_MERGE, xt, clicon_username_get(h), cbret);
done:
xmldb_get0_free(h, &xt);
return retval;
}
@ -334,7 +333,6 @@ startup_extraxml(clixon_handle h,
done:
if (xt0)
xml_free(xt0);
xmldb_get0_free(h, &xt);
if (xmldb_delete(h, tmp_db) != 0 && errno != ENOENT)
return -1;
return retval;