aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_namestore_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-11 01:23:16 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-11 01:33:02 +0200
commitc90ae1921559d990c179800ac392b0a5358758fb (patch)
treec696cf7e8a8d2f66d24eb221251ab0c05f7c948f /src/namestore/plugin_namestore_postgres.c
parentd71e2f3b35de7fcce36806bdad44ecf4114f6740 (diff)
downloadgnunet-c90ae1921559d990c179800ac392b0a5358758fb.tar.gz
gnunet-c90ae1921559d990c179800ac392b0a5358758fb.zip
rename GNUNET_PQ_QueryStatus to GNUNET_DB_QueryStatus
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r--src/namestore/plugin_namestore_postgres.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c
index 5a607cac5..b1a6529aa 100644
--- a/src/namestore/plugin_namestore_postgres.c
+++ b/src/namestore/plugin_namestore_postgres.c
@@ -216,7 +216,7 @@ namestore_postgres_store_records (void *cls,
216 GNUNET_PQ_query_param_string (label), 216 GNUNET_PQ_query_param_string (label),
217 GNUNET_PQ_query_param_end 217 GNUNET_PQ_query_param_end
218 }; 218 };
219 enum GNUNET_PQ_QueryStatus res; 219 enum GNUNET_DB_QueryStatus res;
220 220
221 if (data_size != 221 if (data_size !=
222 GNUNET_GNSRECORD_records_serialize (rd_count, rd, 222 GNUNET_GNSRECORD_records_serialize (rd_count, rd,
@@ -229,7 +229,7 @@ namestore_postgres_store_records (void *cls,
229 res = GNUNET_PQ_eval_prepared_non_select (plugin->dbh, 229 res = GNUNET_PQ_eval_prepared_non_select (plugin->dbh,
230 "store_records", 230 "store_records",
231 params); 231 params);
232 if (GNUNET_PQ_STATUS_SUCCESS_NO_RESULTS != res) 232 if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS != res)
233 return GNUNET_SYSERR; 233 return GNUNET_SYSERR;
234 } 234 }
235 return GNUNET_OK; 235 return GNUNET_OK;
@@ -362,7 +362,7 @@ namestore_postgres_lookup_records (void *cls,
362 GNUNET_PQ_query_param_end 362 GNUNET_PQ_query_param_end
363 }; 363 };
364 struct ParserContext pc; 364 struct ParserContext pc;
365 enum GNUNET_PQ_QueryStatus res; 365 enum GNUNET_DB_QueryStatus res;
366 366
367 pc.iter = iter; 367 pc.iter = iter;
368 pc.iter_cls = iter_cls; 368 pc.iter_cls = iter_cls;
@@ -397,7 +397,7 @@ namestore_postgres_iterate_records (void *cls,
397 void *iter_cls) 397 void *iter_cls)
398{ 398{
399 struct Plugin *plugin = cls; 399 struct Plugin *plugin = cls;
400 enum GNUNET_PQ_QueryStatus res; 400 enum GNUNET_DB_QueryStatus res;
401 struct ParserContext pc; 401 struct ParserContext pc;
402 402
403 pc.iter = iter; 403 pc.iter = iter;
@@ -459,7 +459,7 @@ namestore_postgres_zone_to_name (void *cls,
459 GNUNET_PQ_query_param_auto_from_type (value_zone), 459 GNUNET_PQ_query_param_auto_from_type (value_zone),
460 GNUNET_PQ_query_param_end 460 GNUNET_PQ_query_param_end
461 }; 461 };
462 enum GNUNET_PQ_QueryStatus res; 462 enum GNUNET_DB_QueryStatus res;
463 struct ParserContext pc; 463 struct ParserContext pc;
464 464
465 pc.iter = iter; 465 pc.iter = iter;