Bug #28724 blob code sets error code on transaction object
Submitted: 28 May 2007 15:24 Modified: 19 Jun 2007 15:33
Reporter: Tomas Ulin
Status: Closed
Category:Server: NDBAPI Severity:S2 (Serious)
Version: OS:Any
Assigned to: Pekka Nousiainen Target Version:

[28 May 2007 15:24] Tomas Ulin
Description:
set autocommit=0;
create table t1 (
  a int not null primary key,
  b tinytext
) engine=ndbcluster;

insert into t1 values(1, 'x');
update t1 set b = 'y';
select * from t1;
delete from t1;
select * from t1;
commit;
replace t1 set a=2, b='y';

look at this code in debug trace... the error code 626 is set on the transaction object

How to repeat:
.
[7 Jun 2007 12:13] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/28280

ChangeSet@1.2527, 2007-06-07 12:12:14+02:00, pekka@clam.ndb.mysql.com +3 -0
  ndb - bug#28724 for blobs, private op flag to not set error on transaction
[8 Jun 2007 12:02] Pekka Nousiainen
the if stmt in previous unpushed patch is wrongly written
fixed in next patch
[8 Jun 2007 12:28] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/28391

ChangeSet@1.2529, 2007-06-08 12:27:52+02:00, pekka@clam.ndb.mysql.com +3 -0
  ndb - bug#28724 for blobs, op flag to not set error on trans (fix, recommit)
[18 Jun 2007 9:48] Bugs System
Pushed into 5.1.20-beta
[19 Jun 2007 15:33] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of
that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available
version, including the bug fix. More information about accessing the source trees is
available at

    http://dev.mysql.com/doc/en/installing-source.html

Documented bugfix in 5.1.20 changelog.
[3 Jul 2007 6:59] Jon Stephens
Also documented for telco-6.2.3 release.