diff options
Diffstat (limited to 'src/psycstore/plugin_psycstore_mysql.c')
-rw-r--r-- | src/psycstore/plugin_psycstore_mysql.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/psycstore/plugin_psycstore_mysql.c b/src/psycstore/plugin_psycstore_mysql.c index 010673341..e847ffd07 100644 --- a/src/psycstore/plugin_psycstore_mysql.c +++ b/src/psycstore/plugin_psycstore_mysql.c | |||
@@ -1222,6 +1222,10 @@ message_get (void *cls, | |||
1222 | struct Plugin *plugin = cls; | 1222 | struct Plugin *plugin = cls; |
1223 | struct GNUNET_MYSQL_StatementHandle *stmt = plugin->select_messages; | 1223 | struct GNUNET_MYSQL_StatementHandle *stmt = plugin->select_messages; |
1224 | int ret; | 1224 | int ret; |
1225 | |||
1226 | if (0 == fragment_limit) | ||
1227 | fragment_limit = UINT64_MAX; | ||
1228 | |||
1225 | struct GNUNET_MY_QueryParam params_select[] = { | 1229 | struct GNUNET_MY_QueryParam params_select[] = { |
1226 | GNUNET_MY_query_param_auto_from_type (channel_key), | 1230 | GNUNET_MY_query_param_auto_from_type (channel_key), |
1227 | GNUNET_MY_query_param_uint64 (&first_message_id), | 1231 | GNUNET_MY_query_param_uint64 (&first_message_id), |