aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/plugin_datastore_mysql.c')
-rw-r--r--src/datastore/plugin_datastore_mysql.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c
index 63b065b0c..d6b6d6c62 100644
--- a/src/datastore/plugin_datastore_mysql.c
+++ b/src/datastore/plugin_datastore_mysql.c
@@ -1068,12 +1068,12 @@ mysql_plugin_get_key (void *cls, uint64_t offset, const GNUNET_HashCode * key,
1068 { 1068 {
1069 ret = 1069 ret =
1070 prepared_statement_run_select (plugin, 1070 prepared_statement_run_select (plugin,
1071 plugin->count_entry_by_hash_vhash_and_type, 1071 plugin->
1072 1, cbind, MYSQL_TYPE_BLOB, key, 1072 count_entry_by_hash_vhash_and_type, 1,
1073 hashSize, &hashSize, MYSQL_TYPE_BLOB, 1073 cbind, MYSQL_TYPE_BLOB, key, hashSize,
1074 vhash, hashSize2, &hashSize2, 1074 &hashSize, MYSQL_TYPE_BLOB, vhash,
1075 MYSQL_TYPE_LONG, &type, GNUNET_YES, 1075 hashSize2, &hashSize2, MYSQL_TYPE_LONG,
1076 -1); 1076 &type, GNUNET_YES, -1);
1077 } 1077 }
1078 else 1078 else
1079 { 1079 {