nest select over 3 levels does't work well with union

Bug #906683 reported by epee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
InfiniDB Community
Fix Released
Undecided
Unassigned

Bug Description

The version is Community 2.2.4-1.

mysql> show create table t;
+-------+----------------------------------------------------------------------------------------+
| Table | Create Table |
+-------+----------------------------------------------------------------------------------------+
| t | CREATE TABLE `t` (
  `a` int(11) DEFAULT NULL
) ENGINE=InfiniDB DEFAULT CHARSET=latin1 |
+-------+----------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

mysql> select * from t;
+------+
| a |
+------+
| 1 |
| 2 |
| 3 |
+------+
3 rows in set (0.01 sec)

mysql> select a from ( select a from (select a from t union all select a from t) as t1) as t2;
+---------+
| a |
+---------+
| 1 |
| 2359296 |
| 0 |
| 1 |
| 2359296 |
| 0 |
+---------+
6 rows in set (0.02 sec)

Changed in infinidb:
status: New → Confirmed
Revision history for this message
Robert Adams (radams-calpont) wrote :

Fix packaged in the 2.2.5 release.

Changed in infinidb:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.