unknown
13c05162f3
Fixed bug #26963 : invalid optimization of the pushdown conditions
...
after single-row table substitution could lead to a wrong result set.
The bug happened because the function Item_field::replace_equal_field
erroniously assumed that any field included in a multiple equality
with a constant has been already substituted for this constant.
This not true for fields becoming constant after row substitutions
for constant tables.
mysql-test/r/select.result:
Added a test case for bug #26963 .
mysql-test/t/select.test:
Added a test case for bug #26963 .
sql/item.cc:
Fixed bug #26963 : invalid optimization of the pushdown conditions
after single-row table substitution could lead to a wrong result set.
The bug happened because the function Item_field::replace_equal_field
erroneously assumed that any field included in a multiple equality
with a constant has been already substituted for this constant.
This not true for fields becoming constant after row substitutions
for constant tables.
2007-03-11 23:34:40 -07:00
..
2007-02-03 09:26:11 +01:00
2007-02-22 17:53:41 +01:00
2006-12-31 01:02:27 +01:00
2007-01-11 09:19:32 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-02-06 11:08:57 +02:00
2007-03-03 01:00:30 +01:00
2007-02-21 14:07:08 +02:00
2007-02-22 16:59:57 +02:00
2006-12-31 01:02:27 +01:00
2007-01-31 00:06:42 +01:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2007-03-01 10:52:25 +02:00
2007-01-22 14:04:40 +02:00
2007-02-28 22:23:35 +02:00
2007-02-22 16:59:57 +02:00
2007-02-14 18:35:59 +02:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2006-12-31 01:02:27 +01:00
2007-02-22 16:59:57 +02:00
2007-01-21 17:58:02 -07:00
2007-02-21 14:07:08 +02:00
2006-12-31 01:02:27 +01:00
2007-02-21 14:07:08 +02:00
2006-12-31 01:02:27 +01:00
2007-02-28 22:23:35 +02:00
2007-02-07 11:36:34 +01:00
2007-02-02 17:18:42 +04:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-01-31 10:07:56 +04:00
2006-12-31 01:02:27 +01:00
2007-03-08 21:42:41 +04:00
2007-03-08 21:42:41 +04:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2007-03-08 21:42:41 +04:00
2007-01-09 23:24:56 +03:00
2007-03-05 18:22:35 +04:00
2007-02-28 12:13:46 +04:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2007-03-10 19:57:18 +03:00
2007-03-02 12:14:50 +02:00
2007-03-01 14:06:57 -07:00
2007-03-01 14:06:57 -07:00
2007-02-21 14:07:08 +02:00
2007-01-11 09:43:44 -05:00
2007-02-22 16:59:57 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-03-11 23:34:40 -07:00
2007-03-10 00:29:02 +03:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-03-05 19:42:07 -07:00
2007-03-07 12:24:46 +03:00
2007-02-28 17:17:06 +04:00
2007-03-01 18:12:56 +01:00
2007-02-15 15:05:25 +01:00
2006-12-31 01:02:27 +01:00
2006-09-01 10:32:12 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-03-08 21:42:41 +04:00
2006-12-23 20:17:15 +01:00
2007-03-08 13:30:04 +01:00
2007-01-22 03:33:59 +02:00
2007-02-21 14:07:08 +02:00
2007-03-10 02:47:47 -08:00
2007-01-22 14:04:40 +02:00
2007-01-30 13:14:52 -08:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-01-22 14:04:40 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-02-21 14:07:08 +02:00
2006-12-31 01:02:27 +01:00
2007-03-05 11:50:59 +01:00
2007-02-21 14:07:08 +02:00
2007-03-01 10:40:48 +01:00
2007-02-08 15:53:14 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-03-06 11:30:08 -07:00
2007-03-06 11:30:08 -07:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2006-12-23 20:17:15 +01:00
2007-03-05 18:22:35 +04:00
2007-03-05 18:22:35 +04:00
2007-02-22 16:59:57 +02:00
2006-12-31 01:02:27 +01:00
2007-02-06 17:18:43 +04:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-03-08 21:42:41 +04:00
2006-12-23 20:17:15 +01:00
2007-01-25 20:10:40 +03:00
2007-01-22 14:04:40 +02:00
2007-03-07 23:55:25 +01:00
2007-03-07 23:55:25 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-03-02 00:10:25 +03:00
2007-01-22 14:04:40 +02:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-02-19 14:39:37 +02:00
2007-03-08 21:42:41 +04:00
2007-03-08 21:42:41 +04:00
2007-03-08 21:42:41 +04:00
2006-12-31 01:02:27 +01:00
2007-01-15 13:10:07 +03:00
2007-03-08 21:42:41 +04:00
2007-01-12 12:22:54 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-03-08 21:42:41 +04:00
2007-03-07 12:24:46 +03:00
2006-12-31 01:02:27 +01:00
2007-03-01 10:40:48 +01:00
2006-12-31 01:02:27 +01:00
2007-03-08 19:38:21 +03:00
2007-03-07 21:44:58 +03:00
2007-02-22 16:59:57 +02:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2007-01-22 14:04:40 +02:00
2007-02-21 14:07:08 +02:00
2006-12-31 01:02:27 +01:00
2007-03-07 12:24:46 +03:00
2007-02-27 12:46:50 +04:00
2007-01-03 18:29:39 +02:00
2006-12-31 01:02:27 +01:00
2007-03-10 00:29:02 +03:00
2007-03-08 21:42:41 +04:00
2007-02-21 14:07:08 +02:00
2006-12-23 20:17:15 +01:00
2007-03-07 12:24:46 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2007-03-06 11:30:08 -07:00
2007-03-06 11:30:08 -07:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2007-03-01 18:12:56 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-02-22 16:59:57 +02:00
2006-12-23 20:17:15 +01:00
2007-02-22 16:59:57 +02:00
2006-12-31 01:02:27 +01:00