From 02c37ff0c8e2cc8268c32b3d3da66d006e27aff9 Mon Sep 17 00:00:00 2001 From: stefanocasazza Date: Fri, 13 Jul 2018 16:24:27 +0200 Subject: [PATCH] fix --- src/ulib/net/server/plugin/usp/update.usp | 2 +- .../examples/benchmark/FrameworkBenchmarks/ULib/src/update.usp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ulib/net/server/plugin/usp/update.usp b/src/ulib/net/server/plugin/usp/update.usp index ceb3a7d4..6c8289cd 100644 --- a/src/ulib/net/server/plugin/usp/update.usp +++ b/src/ulib/net/server/plugin/usp/update.usp @@ -52,7 +52,7 @@ if (World::pdrv) pquery = u_num2str32(World::rnumber[i], pquery+1); - res = World::pdrv->execPrepared(World::pstmt); + res = World::execPrepared(i); U_INTERNAL_ASSERT_EQUALS(PQnfields(res), 1) U_INTERNAL_ASSERT_EQUALS(PQntuples(res), 1) diff --git a/tests/examples/benchmark/FrameworkBenchmarks/ULib/src/update.usp b/tests/examples/benchmark/FrameworkBenchmarks/ULib/src/update.usp index ceb3a7d4..6c8289cd 100644 --- a/tests/examples/benchmark/FrameworkBenchmarks/ULib/src/update.usp +++ b/tests/examples/benchmark/FrameworkBenchmarks/ULib/src/update.usp @@ -52,7 +52,7 @@ if (World::pdrv) pquery = u_num2str32(World::rnumber[i], pquery+1); - res = World::pdrv->execPrepared(World::pstmt); + res = World::execPrepared(i); U_INTERNAL_ASSERT_EQUALS(PQnfields(res), 1) U_INTERNAL_ASSERT_EQUALS(PQntuples(res), 1)