From 428089a1e8270f9ea05ef4dfce281a48c98bb826 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 24 Aug 2018 09:24:24 +0100 Subject: Fix uninitialised memory warning and assert --- libodbcpp/unittests/testodbc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libodbcpp/unittests') 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 ) -- cgit v1.2.3