Bug #25527 | myISAM goes into a tight loop on "distinct" queries over bit fields | ||
---|---|---|---|
Submitted: | 10 Jan 2007 17:40 | Modified: | 11 Jan 2007 2:13 |
Reporter: | Patrick Casey | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S1 (Critical) |
Version: | 5.0.27 | OS: | Windows (XP & Red-Hat) |
Assigned to: | CPU Architecture: | Any |
[10 Jan 2007 17:40]
Patrick Casey
[10 Jan 2007 19:11]
MySQL Verification Team
Thank you for the bug report. Could you please provide a dump file of the table mentioned with insert data commands?. Thanks in advance.
[10 Jan 2007 21:49]
Patrick Casey
dump file
Attachment: task.sql (application/octet-stream, text), 42.43 KiB.
[10 Jan 2007 21:50]
Patrick Casey
Dump file attached as per your request. C:\dev\mysql527\bin>mysqldump -u root glide task > task.sql
[11 Jan 2007 1:08]
MySQL Verification Team
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 bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html Thank you for the feedback. Tested on Fedora Core 6 and XP Windows: [miguel@light 5.0]$ bin/mysqladmin -uroot create glide [miguel@light 5.0]$ bin/mysql -uroot glide < /home/miguel/dbs/task.sql [miguel@light 5.0]$ bin/mysql -uroot glide Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.0.34-debug Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select distinct (active) from task; +--------+ | active | +--------+ | | | | +--------+ 2 rows in set (0.00 sec) mysql> select `task`.`active` as `c0`, `task`.`active` as `c1` from `task` as `task` -> group by `task`.`active` order by `task`.`active` ASC; +------+------+ | c0 | c1 | +------+------+ | | | | | | +------+------+ 2 rows in set (0.00 sec) ------------------------------------------------------------------------ C:\mydb>bin\mysql -uroot glide Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 Server version: 5.0.34 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select distinct (active) from task; +--------+ | active | +--------+ | | | ☺ | +--------+ 2 rows in set (0.00 sec) mysql> select `task`.`active` as `c0`, `task`.`active` as `c1` from `task` as `task` -> group by `task`.`active` order by `task`.`active` ASC; +------+------+ | c0 | c1 | +------+------+ | | | | ☺ | ☺ | +------+------+ 2 rows in set (0.00 sec) mysql>
[11 Jan 2007 2:13]
Patrick Casey
Sorry to be a bit dense here, but did you replicate and check in a fix for this, or did you have trouble replicating it?
[11 Jan 2007 2:24]
MySQL Verification Team
What I did was: confirmed the behavior for you reported with 5.0.27 on XP then tested against current source server on Linux and XP that is our procedure and I don't know say you where and when the fix was done.