diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-24 16:30:45 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-24 16:30:45 +0100 |
commit | 2fd320bc7263b1dadd8fbead1004e9ee8b822f45 (patch) | |
tree | d94235b28665834c8b82175fa30360cd0ec6acb0 /src/datastore | |
parent | f69dbeee28ec0cacf4ed1ffc4601b59a9178c794 (diff) | |
download | gnunet-2fd320bc7263b1dadd8fbead1004e9ee8b822f45.tar.gz gnunet-2fd320bc7263b1dadd8fbead1004e9ee8b822f45.zip |
modify GNUNET_PQ_connect_with_cfg to enable flexible loading of .sql files
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/plugin_datastore_postgres.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index eba717226..88ceb1b0a 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c | |||
@@ -172,6 +172,7 @@ init_connection (struct Plugin *plugin) | |||
172 | 172 | ||
173 | plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg, | 173 | plugin->dbh = GNUNET_PQ_connect_with_cfg (plugin->env->cfg, |
174 | "datastore-postgres", | 174 | "datastore-postgres", |
175 | NULL, | ||
175 | es, | 176 | es, |
176 | ps); | 177 | ps); |
177 | if (NULL == plugin->dbh) | 178 | if (NULL == plugin->dbh) |