Bug #31270 falcon_bug_28026.test fails due to bug in ha_partition.cc
Submitted: 28 Sep 2007 5:11 Modified: 6 Oct 2007 5:18
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Partitions Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: Hakan Küçükyılmaz CPU Architecture:Any

[28 Sep 2007 5:11] Hakan Küçükyılmaz
Description:
falcon_bug_28026.test fails due to bug in ha_partition.cc

How to repeat:
Run
  - falcon_bug_28026.test
  - falcon_bug_29332.test

in latest 6.0-main.

Failures are
falcon.falcon_bug_28026        [ fail ]

mysqltest: At line 50: query 'SELECT * FROM t1 WHERE a = 8 FOR UPDATE' succeeded - should have failed with errno 1213...

and

falcon.falcon_bug_29332        [ fail ]

Note: net_clear() skipped 65 bytes from file: socket (5)
mysqltest: At line 99: query 'SELECT * FROM t2 WHERE a = 9 FOR UPDATE' succeeded - should have failed with errno 1213...

Suggested fix:
Change ha_partition.cc line 3163

   int result= file->rnd_next(buf);

to read

   result= file->rnd_next(buf);
[28 Sep 2007 5:19] 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/34625

ChangeSet@1.2602, 2007-09-28 07:18:55+02:00, hakank@lu0011.wdf.sap.corp +1 -0
  Fix for Bug#31270.
[28 Sep 2007 16:29] Ingo Strüwing
Ok to push.
[28 Sep 2007 16:35] 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/34654

ChangeSet@1.2589, 2007-09-28 18:35:59+02:00, hakank@lu0011.wdf.sap.corp +1 -0
  Fix for Bug#31270.
[6 Oct 2007 5:18] Hakan Küçükyılmaz
Pushed into mysql-6.0 and mysql-6.0-falcon
[24 Oct 2007 18:42] Bugs System
Pushed into 6.0.4-alpha