diff options
author | unknown <mskold@mysql.com> | 2004-08-10 15:04:40 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2004-08-10 15:04:40 +0200 |
commit | 9e93c0acff8e1ebbcb8762512d0a014283026815 (patch) | |
tree | c614a2e241a54c1cda774e04e736fbba75f32547 /ndb/src/ndbapi/Ndb.cpp | |
parent | af0f14ded46634c31417a2b31a98bc70d4696391 (diff) | |
download | mariadb-git-9e93c0acff8e1ebbcb8762512d0a014283026815.tar.gz |
Missing result handling in bug fix for bug#3912
Diffstat (limited to 'ndb/src/ndbapi/Ndb.cpp')
-rw-r--r-- | ndb/src/ndbapi/Ndb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/src/ndbapi/Ndb.cpp b/ndb/src/ndbapi/Ndb.cpp index 06b583ca174..9b48db02b23 100644 --- a/ndb/src/ndbapi/Ndb.cpp +++ b/ndb/src/ndbapi/Ndb.cpp @@ -880,7 +880,7 @@ Ndb::opTupleIdOnNdb(Uint32 aTableId, Uint64 opValue, Uint32 op) tOperation->def_label(0); tOperation->interpret_exit_nok(9999); - if (tConnection->execute( Commit ) == -1 ) + if ( (result = tConnection->execute( Commit )) == -1 ) goto error_handler; if (result == 9999) |