mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
ndb - testNdbApi -n UpdatesWithoutValues
ndb/test/ndbapi/testNdbApi.cpp: testNdbApi -n UpdatesWithoutValues
This commit is contained in:
@@ -799,13 +799,13 @@ int runUpdateWithoutValues(NDBT_Context* ctx, NDBT_Step* step){
|
|||||||
|
|
||||||
// Dont' call any setValues
|
// Dont' call any setValues
|
||||||
|
|
||||||
// Execute should not work
|
// Execute should work
|
||||||
int check = pCon->execute(Commit);
|
int check = pCon->execute(Commit);
|
||||||
if (check == 0){
|
if (check == 0){
|
||||||
ndbout << "execute worked" << endl;
|
ndbout << "execute worked" << endl;
|
||||||
result = NDBT_FAILED;
|
|
||||||
} else {
|
} else {
|
||||||
ERR(pCon->getNdbError());
|
ERR(pCon->getNdbError());
|
||||||
|
result = NDBT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
pNdb->closeTransaction(pCon);
|
pNdb->closeTransaction(pCon);
|
||||||
|
Reference in New Issue
Block a user