diff options
author | Christophe Genevey Metat <genevey.christophe@gmail.com> | 2016-07-29 14:33:34 +0000 |
---|---|---|
committer | Christophe Genevey Metat <genevey.christophe@gmail.com> | 2016-07-29 14:33:34 +0000 |
commit | 7d32881a36c4e6e8fe0dc67a799f2e07a07afdcd (patch) | |
tree | b21a1732260da12bdcc845872a14fcdf94568163 /src/psycstore/plugin_psycstore_mysql.c | |
parent | 25a67fbbca41f9568d23707b66b8e1f8fd87e2bb (diff) | |
download | gnunet-7d32881a36c4e6e8fe0dc67a799f2e07a07afdcd.tar.gz gnunet-7d32881a36c4e6e8fe0dc67a799f2e07a07afdcd.zip |
fix fragment_select function
Diffstat (limited to 'src/psycstore/plugin_psycstore_mysql.c')
-rw-r--r-- | src/psycstore/plugin_psycstore_mysql.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/psycstore/plugin_psycstore_mysql.c b/src/psycstore/plugin_psycstore_mysql.c index 94179872f..29ccf1a47 100644 --- a/src/psycstore/plugin_psycstore_mysql.c +++ b/src/psycstore/plugin_psycstore_mysql.c | |||
@@ -1155,6 +1155,21 @@ fragment_select (struct Plugin *plugin, struct GNUNET_MYSQL_StatementHandle *stm | |||
1155 | int ret = GNUNET_SYSERR; | 1155 | int ret = GNUNET_SYSERR; |
1156 | int sql_ret; | 1156 | int sql_ret; |
1157 | 1157 | ||
1158 | if(NULL == plugin->mc) | ||
1159 | { | ||
1160 | fprintf(stderr, "bla\n"); | ||
1161 | } | ||
1162 | |||
1163 | if(NULL == stmt) | ||
1164 | { | ||
1165 | fprintf(stderr, "blo\n" ); | ||
1166 | } | ||
1167 | |||
1168 | if(NULL == params) | ||
1169 | { | ||
1170 | fprintf(stderr, "toot\n" ); | ||
1171 | } | ||
1172 | |||
1158 | sql_ret = GNUNET_MY_exec_prepared (plugin->mc, | 1173 | sql_ret = GNUNET_MY_exec_prepared (plugin->mc, |
1159 | stmt, | 1174 | stmt, |
1160 | params); | 1175 | params); |