#At file:///home/oleja/mysql/mysql-5.1-telco-7.0-spj-scan-scan/ based on revid:ole.john.aske@stripped
3382 Ole John Aske 2010-12-01
Addendum patch for bug#58628: Update of result file due
to changed (improved) behaviour when constructing a REF
key from 'out of bound' values.
As the main fix will cause failing const key value ::copy()
to be reevaluate inside JOIN::exec(), we will detect out of bound
values (which will form an illegal/undefined REF key) before
executing the access request. Previously these const REF keys
was produced by JOIN::optimize() and any conversion/range errors
was ignored. - Possibly causing undefined keys to be produced.
These access request may then be ignored wo/ a Handler_read_key request
being executed.
modified:
mysql-test/r/update.result
=== modified file 'mysql-test/r/update.result'
--- a/mysql-test/r/update.result 2010-07-19 09:03:52 +0000
+++ b/mysql-test/r/update.result 2010-12-01 21:35:17 +0000
@@ -404,7 +404,7 @@ user_id
show status like '%Handler_read%';
Variable_name Value
Handler_read_first 0
-Handler_read_key 1
+Handler_read_key 0
Handler_read_next 0
Handler_read_prev 0
Handler_read_rnd 0
@@ -414,7 +414,7 @@ user_id
show status like '%Handler_read%';
Variable_name Value
Handler_read_first 0
-Handler_read_key 2
+Handler_read_key 0
Handler_read_next 0
Handler_read_prev 0
Handler_read_rnd 0
@@ -423,7 +423,7 @@ UPDATE t1 SET user_id=null WHERE request
show status like '%Handler_read%';
Variable_name Value
Handler_read_first 0
-Handler_read_key 3
+Handler_read_key 1
Handler_read_next 0
Handler_read_prev 0
Handler_read_rnd 0
@@ -432,7 +432,7 @@ UPDATE t1 SET user_id=null WHERE request
show status like '%Handler_read%';
Variable_name Value
Handler_read_first 0
-Handler_read_key 3
+Handler_read_key 1
Handler_read_next 0
Handler_read_prev 0
Handler_read_rnd 0
Attachment: [text/bzr-bundle] bzr/ole.john.aske@oracle.com-20101201213517-2ls122fz6roancu1.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0-spj-scan-vs-scan branch(ole.john.aske:3382) Bug#58628 | Ole John Aske | 1 Dec |