aboutsummaryrefslogtreecommitdiff
path: root/src/datastore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-12-21 15:24:03 +0000
committerChristian Grothoff <christian@grothoff.org>2012-12-21 15:24:03 +0000
commit06f58907c34309aaf911d5085b0fc2e3badb0cbc (patch)
tree372e6d96b790a5306e04104ea95fbc2210922659 /src/datastore
parent33a5d276ff045e45d05264a0c17a545ecd277548 (diff)
downloadgnunet-06f58907c34309aaf911d5085b0fc2e3badb0cbc.tar.gz
gnunet-06f58907c34309aaf911d5085b0fc2e3badb0cbc.zip
-fix
Diffstat (limited to 'src/datastore')
-rw-r--r--src/datastore/Makefile.am7
-rw-r--r--src/datastore/perf_plugin_datastore.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/src/datastore/Makefile.am b/src/datastore/Makefile.am
index eb97996bd..29391b91a 100644
--- a/src/datastore/Makefile.am
+++ b/src/datastore/Makefile.am
@@ -295,10 +295,13 @@ EXTRA_DIST = \
295 test_defaults.conf \ 295 test_defaults.conf \
296 test_datastore_api_data_sqlite.conf \ 296 test_datastore_api_data_sqlite.conf \
297 perf_plugin_datastore_data_sqlite.conf \ 297 perf_plugin_datastore_data_sqlite.conf \
298 test_plugin_datastore_data_sqlite.conf \
299 test_datastore_api_data_heap.conf \
300 perf_plugin_datastore_data_heap.conf \
301 test_plugin_datastore_data_heap.conf \
298 test_datastore_api_data_mysql.conf \ 302 test_datastore_api_data_mysql.conf \
299 perf_plugin_datastore_data_mysql.conf \ 303 perf_plugin_datastore_data_mysql.conf \
304 test_plugin_datastore_data_mysql.conf \
300 test_datastore_api_data_postgres.conf \ 305 test_datastore_api_data_postgres.conf \
301 perf_plugin_datastore_data_postgres.conf \ 306 perf_plugin_datastore_data_postgres.conf \
302 test_plugin_datastore_data_mysql.conf \
303 test_plugin_datastore_data_postgres.conf \ 307 test_plugin_datastore_data_postgres.conf \
304 test_plugin_datastore_data_sqlite.conf
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c
index bf15d961e..56e2b871c 100644
--- a/src/datastore/perf_plugin_datastore.c
+++ b/src/datastore/perf_plugin_datastore.c
@@ -436,6 +436,11 @@ run (void *cls, char *const *args, const char *cfgfile,
436 struct GNUNET_DATASTORE_PluginFunctions *api; 436 struct GNUNET_DATASTORE_PluginFunctions *api;
437 struct CpsRunContext *crc; 437 struct CpsRunContext *crc;
438 438
439 if (NULL == c)
440 {
441 GNUNET_break (0);
442 return;
443 }
439 api = load_plugin (c); 444 api = load_plugin (c);
440 if (api == NULL) 445 if (api == NULL)
441 { 446 {