aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_namestore_sqlite.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-03-08 16:27:57 +0100
committerChristian Grothoff <christian@grothoff.org>2018-03-08 16:43:05 +0100
commit174fbee08315672dae1e9dae6df75eeab24808ac (patch)
treef1e35d10ac2d2a98ac83566c8bfb9e7168387797 /src/namestore/plugin_namestore_sqlite.c
parentf2b9c644c8d5cac39dfa547c22b7e1217c44aad9 (diff)
downloadgnunet-174fbee08315672dae1e9dae6df75eeab24808ac.tar.gz
gnunet-174fbee08315672dae1e9dae6df75eeab24808ac.zip
avoid specifying useless DEFAULT values
Diffstat (limited to 'src/namestore/plugin_namestore_sqlite.c')
-rw-r--r--src/namestore/plugin_namestore_sqlite.c10
1 files changed, 5 insertions, 5 deletions
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)
266 (sqlite3_exec 266 (sqlite3_exec
267 (plugin->dbh, 267 (plugin->dbh,
268 "CREATE TABLE ns097records (" 268 "CREATE TABLE ns097records ("
269 " zone_private_key BLOB NOT NULL DEFAULT ''," 269 " zone_private_key BLOB NOT NULL,"
270 " pkey BLOB," 270 " pkey BLOB,"
271 " rvalue INT8 NOT NULL DEFAULT ''," 271 " rvalue INT8 NOT NULL,"
272 " record_count INT NOT NULL DEFAULT 0," 272 " record_count INT NOT NULL,"
273 " record_data BLOB NOT NULL DEFAULT ''," 273 " record_data BLOB NOT NULL,"
274 " label TEXT NOT NULL DEFAULT ''" 274 " label TEXT NOT NULL"
275 ")", 275 ")",
276 NULL, NULL, NULL) != SQLITE_OK)) 276 NULL, NULL, NULL) != SQLITE_OK))
277 { 277 {