From e891aa916c09b3e79c02f7c486f3e1a1c015769a Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 3 Oct 2022 13:23:35 +0900 Subject: NAMESTORE: Bulk store API and fix for delayed store activities New API: GNUNET_NAMESTORE_records_store2 which allows the caller to pass an array of records in order to facilitate bulk import of zone data. Further, the transactional API requires that monitors and namecache updates are delayed until transactions are actually commited. --- src/namestore/plugin_namestore_sqlite.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/namestore/plugin_namestore_sqlite.c') diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index f1097ad0a..35fd340ab 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c @@ -871,6 +871,7 @@ database_connect (struct Plugin *plugin) GNUNET_free (sqlite_filename); return GNUNET_SYSERR; } + GNUNET_free (sqlite_filename); GNUNET_break (SQLITE_OK == sqlite3_busy_timeout (plugin->dbh, BUSY_TIMEOUT_MS)); -- cgit v1.2.3