diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-10-11 15:12:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-10-11 15:12:43 +0000 |
commit | 4e6147ce59183ef1ad3befd99bb5455e53e2803a (patch) | |
tree | d5b8dfce2a73ac9319040ab239349e070f6183f9 /src/psycstore | |
parent | 3c7d40acf9b6ec4365a8422ede52afe761e86601 (diff) | |
download | gnunet-4e6147ce59183ef1ad3befd99bb5455e53e2803a.tar.gz gnunet-4e6147ce59183ef1ad3befd99bb5455e53e2803a.zip |
logging
Diffstat (limited to 'src/psycstore')
-rw-r--r-- | src/psycstore/plugin_psycstore_mysql.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/psycstore/plugin_psycstore_mysql.c b/src/psycstore/plugin_psycstore_mysql.c index 2ce5775e7..010673341 100644 --- a/src/psycstore/plugin_psycstore_mysql.c +++ b/src/psycstore/plugin_psycstore_mysql.c | |||
@@ -1075,12 +1075,17 @@ fragment_row (struct GNUNET_MYSQL_StatementHandle *stmt, | |||
1075 | break; | 1075 | break; |
1076 | 1076 | ||
1077 | default: | 1077 | default: |
1078 | LOG_MYSQL(plugin, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 1078 | LOG_MYSQL (plugin, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |
1079 | "mysql extract_result", stmt); | 1079 | "mysql extract_result", stmt); |
1080 | } | 1080 | } |
1081 | } | 1081 | } |
1082 | while (GNUNET_YES == sql_ret); | 1082 | while (GNUNET_YES == sql_ret); |
1083 | 1083 | ||
1084 | // for debugging | ||
1085 | if (GNUNET_NO == ret) | ||
1086 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK, | ||
1087 | "Empty result set\n"); | ||
1088 | |||
1084 | return ret; | 1089 | return ret; |
1085 | } | 1090 | } |
1086 | 1091 | ||