#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped
3976 Magnus Blåudd 2010-11-09
ndb
- mark up fix for bug37153 with ifdef rbwr since the problem only
manifest itself with rbwr active
modified:
sql/ha_ndbcluster.cc
=== modified file 'sql/ha_ndbcluster.cc'
--- a/sql/ha_ndbcluster.cc 2010-11-08 15:12:16 +0000
+++ b/sql/ha_ndbcluster.cc 2010-11-09 12:08:27 +0000
@@ -6710,6 +6710,7 @@ int ndbcluster_commit(handlerton *hton,
if (thd_ndb->m_handler &&
thd_ndb->m_handler->m_read_before_write_removal_possible)
{
+#ifndef NDB_WITHOUT_READ_BEFORE_WRITE_REMOVAL
/* Autocommit with read-before-write removal
* Some operations in this autocommitted statement have not
* yet been executed
@@ -6754,6 +6755,9 @@ int ndbcluster_commit(handlerton *hton,
/* Modify execution result + optionally message */
thd->main_da.modify_affected_rows(affected, msg);
}
+#else
+ abort(); // Should never come here without rbwr support
+#endif
}
else
res= execute_commit(thd_ndb, trans, THDVAR(thd, force_send), FALSE);
Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20101109120827-7hidrb2f6o40mqrg.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:3976) | Magnus Blåudd | 9 Nov |