summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <magnus@msdesk.mysql.com>2005-03-31 14:37:22 +0200
committerunknown <magnus@msdesk.mysql.com>2005-03-31 14:37:22 +0200
commitb790a34805664e43c37d2b064722ff3ee7d79ad7 (patch)
treed87c95af75841b8fdb92908bbd208af589f67c4e
parent5afca65d3422611ade5aa71b58da004bcd1d6050 (diff)
parentdf7f4cc50efd03288abfc0e1c4f84a895b08270d (diff)
downloadmariadb-git-b790a34805664e43c37d2b064722ff3ee7d79ad7.tar.gz
Merge msvensson@bk-internal.mysql.com:/home/bk/mysql-5.0
into msdesk.mysql.com:/home/magnus/mysql-5.0
-rw-r--r--BitKeeper/etc/logging_ok1
-rw-r--r--sql/ha_ndbcluster.cc3
2 files changed, 2 insertions, 2 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok
index 22808697471..74619cbb80c 100644
--- a/BitKeeper/etc/logging_ok
+++ b/BitKeeper/etc/logging_ok
@@ -120,6 +120,7 @@ kostja@oak.local
lars@mysql.com
lenz@kallisto.mysql.com
lenz@mysql.com
+magnus@msdesk.mysql.com
magnus@neptunus.(none)
magnus@shellback.(none)
marko@hundin.mysql.fi
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index edeb702145d..8dfc2d82ccc 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -2171,6 +2171,7 @@ int ha_ndbcluster::delete_row(const byte *record)
DBUG_ENTER("delete_row");
statistic_increment(thd->status_var.ha_delete_count,&LOCK_status);
+ m_rows_changed++;
if (cursor)
{
@@ -2221,8 +2222,6 @@ int ha_ndbcluster::delete_row(const byte *record)
}
}
- m_rows_changed++;
-
// Execute delete operation
if (execute_no_commit(this,trans) != 0) {
no_uncommitted_rows_execute_failure();