From: Christian Grothoff Date: Thu, 8 Mar 2018 15:27:57 +0000 (+0100) Subject: avoid specifying useless DEFAULT values X-Git-Tag: v0.11.0pre66~154 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=174fbee08315672dae1e9dae6df75eeab24808ac;p=oweals%2Fgnunet.git avoid specifying useless DEFAULT values --- diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index dea13b982..f967881ec 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c @@ -260,6 +260,8 @@ cleanup_task (void *cls) "Stopping namestore service\n"); while (NULL != (cop = cop_head)) { + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Aborting incomplete namecache operation\n"); GNUNET_NAMECACHE_cancel (cop->qe); GNUNET_CONTAINER_DLL_remove (cop_head, cop_tail, diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index eb2378ed4..168c52c11 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c @@ -266,12 +266,12 @@ database_setup (struct Plugin *plugin) (sqlite3_exec (plugin->dbh, "CREATE TABLE ns097records (" - " zone_private_key BLOB NOT NULL DEFAULT ''," + " zone_private_key BLOB NOT NULL," " pkey BLOB," - " rvalue INT8 NOT NULL DEFAULT ''," - " record_count INT NOT NULL DEFAULT 0," - " record_data BLOB NOT NULL DEFAULT ''," - " label TEXT NOT NULL DEFAULT ''" + " rvalue INT8 NOT NULL," + " record_count INT NOT NULL," + " record_data BLOB NOT NULL," + " label TEXT NOT NULL" ")", NULL, NULL, NULL) != SQLITE_OK)) {