aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb_batch_reserves_in_insert.c
diff options
context:
space:
mode:
authorJoseph <Joseph.xu@efrei.net>2022-12-12 06:49:13 -0500
committerJoseph <Joseph.xu@efrei.net>2022-12-20 04:58:57 -0500
commit48b7d45959d40cc129991a191a6aa3167412bd9e (patch)
treedd8e47cd279aa1a5cb50ac933c5f71e34b62eb31 /src/exchangedb/test_exchangedb_batch_reserves_in_insert.c
parentb6b80e61f49db3d5a4a796d95093c1b6784d3f3f (diff)
downloadexchange-48b7d45959d40cc129991a191a6aa3167412bd9e.tar.xz
some modifications in sql code
Diffstat (limited to 'src/exchangedb/test_exchangedb_batch_reserves_in_insert.c')
-rw-r--r--src/exchangedb/test_exchangedb_batch_reserves_in_insert.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/exchangedb/test_exchangedb_batch_reserves_in_insert.c b/src/exchangedb/test_exchangedb_batch_reserves_in_insert.c
index 460778b88..b9b5a874d 100644
--- a/src/exchangedb/test_exchangedb_batch_reserves_in_insert.c
+++ b/src/exchangedb/test_exchangedb_batch_reserves_in_insert.c
@@ -83,15 +83,9 @@ run (void *cls)
}
(void) plugin->drop_tables (plugin->cls);
if (GNUNET_OK !=
- plugin->create_tables (plugin->cls))
- {
- GNUNET_break (0);
- result = 77;
- goto cleanup;
- }
- if (GNUNET_OK !=
- plugin->setup_partitions (plugin->cls,
- num_partitions))
+ plugin->create_tables (plugin->cls,
+ true,
+ num_partitions))
{
GNUNET_break (0);
result = 77;