Bug #3397 | Wrong Union Behaviour | ||
---|---|---|---|
Submitted: | 5 Apr 2004 23:33 | Modified: | 16 Apr 2004 8:22 |
Reporter: | Sergei Kulakov (Candidate Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.18 Source | OS: | Windows (Windows) |
Assigned to: | CPU Architecture: | Any |
[5 Apr 2004 23:33]
Sergei Kulakov
[15 Apr 2004 19:40]
MySQL Verification Team
Thank you for the bug report I was able to repeat with 4.0.18 however with a server 4.0.19 built from BK source I got the expected results: C:\mysql\bin>mysql -uroot test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.19-max-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> SELECT REPEAT('a',1) UNION SELECT REPEAT('b',10); +---------------+ | REPEAT('a',1) | +---------------+ | a | | b | +---------------+ 2 rows in set (0.01 sec) mysql> SELECT REPEAT('b',10) UNION SELECT REPEAT('a',1); +----------------+ | REPEAT('b',10) | +----------------+ | bbbbbbbbbb | | a | +----------------+ 2 rows in set (0.00 sec) mysql> SELECT REPEAT('b',10) UNION SELECT REPEAT('a',10); +----------------+ | REPEAT('b',10) | +----------------+ | bbbbbbbbbb | | aaaaaaaaaa | +----------------+ 2 rows in set (0.01 sec) <cut>
[16 Apr 2004 8:22]
Greg Weir
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 bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html