From 569310001fdaacb68e60d3433a490aaf6cd0fe68 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 Dec 2004 09:36:27 +0100 Subject: [PATCH] ndb - testNdbApi -n UpdatesWithoutValues ndb/test/ndbapi/testNdbApi.cpp: testNdbApi -n UpdatesWithoutValues --- ndb/test/ndbapi/testNdbApi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndb/test/ndbapi/testNdbApi.cpp b/ndb/test/ndbapi/testNdbApi.cpp index a1ebac609b6..c0393403760 100644 --- a/ndb/test/ndbapi/testNdbApi.cpp +++ b/ndb/test/ndbapi/testNdbApi.cpp @@ -799,13 +799,13 @@ int runUpdateWithoutValues(NDBT_Context* ctx, NDBT_Step* step){ // Dont' call any setValues - // Execute should not work + // Execute should work int check = pCon->execute(Commit); if (check == 0){ ndbout << "execute worked" << endl; - result = NDBT_FAILED; } else { ERR(pCon->getNdbError()); + result = NDBT_FAILED; } pNdb->closeTransaction(pCon);