Bug #54925 | Assertion `query_arg && mysql_bin_log.is_open()' on DROP TEMP TABLE | ||
---|---|---|---|
Submitted: | 30 Jun 2010 22:34 | Modified: | 2 Sep 2010 14:29 |
Reporter: | Elena Stepanova | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.5.5-m3-debug | OS: | Any |
Assigned to: | Luis Soares | CPU Architecture: | Any |
Tags: | regression |
[30 Jun 2010 22:34]
Elena Stepanova
[1 Jul 2010 16:04]
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/112697 3079 Luis Soares 2010-07-01 BUG#54925: Assertion `query_arg && mysql_bin_log.is_open()' on DROP TEMP TABLE Cset: alfranio.correia@sun.com-20100420091043-4i6ouzozb34hvzhb introduced a change that made drop temporary table to be always logged if current statement log format was set to row. This is fine. However, logging operations, for a "DROP TABLE" statement in mysql_rm_table_part2, are not protected by first checking if the mysql_bin_log is open before proceeding to the actual logging. They only check the dont_log_query variable. This was actually uncovered by the aforementioned cset and not introduced by it. We fix this by extending the condition used in the "if" that wraps logging operations in mysql_rm_table_part2.
[5 Jul 2010 17:14]
Konstantin Osipov
The patch is OK.
[8 Jul 2010 9:29]
Luis Soares
Queued in mysql-trunk-bugfixing and merged to mysql-next-mr-bugfixing: - http://pb2.norway.sun.com/web.py?template=push_details&push=1402801 - http://pb2.norway.sun.com/web.py?template=push_details&push=1402747
[23 Jul 2010 12:24]
Bugs System
Pushed into mysql-trunk 5.5.6-m3 (revid:alik@sun.com-20100723121820-jryu2fuw3pc53q9w) (version source revid:vasil.dimov@oracle.com-20100531152341-x2d4hma644icamh1) (merge vers: 5.5.5-m3) (pib:18)
[23 Jul 2010 12:31]
Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100723121929-90e9zemk3jkr2ocy) (version source revid:vasil.dimov@oracle.com-20100531152341-x2d4hma644icamh1) (pib:18)
[4 Aug 2010 15:36]
Jon Stephens
Documented bugfix in the 5.5.6 changelog as follows: Setting binlong_format = ROW then creating and then dropping a temporary table led an assertion. Set NM status, waiting for merge to next-mr.
[2 Sep 2010 14:29]
Jon Stephens
Per discussion with Luís, no additional changelog entry needed. Closed.