Bug #28553 | mysqld crash in "purge master log before(select time from information_schema)" | ||
---|---|---|---|
Submitted: | 21 May 2007 9:09 | Modified: | 14 Jun 2007 19:34 |
Reporter: | Magnus Blåudd | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Information schema | Severity: | S2 (Serious) |
Version: | 5.0.42, 4.1, 5.1 | OS: | Any |
Assigned to: | Sergei Glukhov | CPU Architecture: | Any |
[21 May 2007 9:09]
Magnus Blåudd
[21 May 2007 9:30]
Sveta Smirnova
Thank you for the report. Verified as described.
[21 May 2007 13:16]
MySQL Verification Team
don't think it's I_S related if 4.1 crashes? Looks subquery related to me. testcase: drop table if exists t1; create table t1(a datetime)engine=myisam; purge master logs before (select a from t1);
[29 May 2007 9:06]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/27541 ChangeSet@1.2660, 2007-05-29 14:02:48+05:00, gluh@mysql.com +3 -0 Bug#28553 mysqld crash in "purge master log before(select time from information_schema)" forbid use of subselect in PURGE LOGS BEFORE command
[1 Jun 2007 10:34]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/27898 ChangeSet@1.2660, 2007-06-01 15:32:25+05:00, gluh@mysql.com +3 -0 Bug#28553 mysqld crash in "purge master log before(select time from information_schema)"(2nd version) forbid use of subselect in PURGE LOGS BEFORE command
[6 Jun 2007 13:37]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/28203 ChangeSet@1.2660, 2007-06-06 18:29:15+05:00, gluh@mysql.com +3 -0 Bug#28553 mysqld crash in "purge master log before(select time from information_schema)" forbid the use of subselect in PURGE LOGS BEFORE command
[14 Jun 2007 19:00]
Bugs System
Pushed into 5.1.20-beta
[14 Jun 2007 19:00]
Bugs System
Pushed into 5.0.44
[14 Jun 2007 19:01]
Bugs System
Pushed into 4.1.24
[14 Jun 2007 19:34]
Paul DuBois
Noted in 4.1.24, 5.0.44, 5.1.20 changelogs. PURGE MASTER LOGS BEFORE (subquery) caused a server crash. Subqueries are forbidden in the BEFORE clause now.