#At file:///home/jonas/src/telco-6.3/ based on revid:jonas@stripped
3061 Jonas Oreland 2009-09-24
ndb - bug#47572 - commit/push for club
modified:
sql/ha_ndbcluster.cc
=== modified file 'sql/ha_ndbcluster.cc'
--- a/sql/ha_ndbcluster.cc 2009-09-21 13:53:09 +0000
+++ b/sql/ha_ndbcluster.cc 2009-09-24 07:23:45 +0000
@@ -530,14 +530,14 @@ void
ha_ndbcluster::release_completed_operations(Thd_ndb *thd_ndb,
NdbTransaction *trans)
{
- if (trans->hasBlobOperation())
- {
- /* We are reading/writing BLOB fields,
- releasing operation records is unsafe
- */
- return;
- }
-
+ /**
+ * mysqld reads/write blobs fully,
+ * which means that it does not keep blobs
+ * open/active over execute, which means
+ * that it should be safe to release anything completed here
+ *
+ * i.e don't check for blobs, but just go ahead and release
+ */
trans->releaseCompletedOperations();
}
Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20090924072345-fi7m4mvqw2n2wnc0.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.3 branch (jonas:3061) Bug#47572 | Jonas Oreland | 24 Sep |