summaryrefslogtreecommitdiff
path: root/libodbcpp/unittests
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-08-24 09:24:24 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-08-24 09:24:24 +0100
commit428089a1e8270f9ea05ef4dfce281a48c98bb826 (patch)
tree4ac51db85040fe3baf5035f867ca20a39e37eaaa /libodbcpp/unittests
parentC++17 (diff)
downloadlibdbpp-odbc-428089a1e8270f9ea05ef4dfce281a48c98bb826.tar.bz2
libdbpp-odbc-428089a1e8270f9ea05ef4dfce281a48c98bb826.tar.xz
libdbpp-odbc-428089a1e8270f9ea05ef4dfce281a48c98bb826.zip
Fix uninitialised memory warning and assert
Diffstat (limited to 'libodbcpp/unittests')
-rw-r--r--libodbcpp/unittests/testodbc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/unittests/testodbc.cpp b/libodbcpp/unittests/testodbc.cpp
index f235cfb..bb6fd97 100644
--- a/libodbcpp/unittests/testodbc.cpp
+++ b/libodbcpp/unittests/testodbc.cpp
@@ -49,7 +49,7 @@ BOOST_AUTO_TEST_CASE( bindAndSend )
mod->bindParamS(2, testString);
mod->bindParamB(3, testBool);
mod->bindParamT(4, testDateTime);
- mod->execute();
+ BOOST_CHECK_EQUAL(1, mod->execute());
}
BOOST_AUTO_TEST_CASE( bindAndSelect )