Bug #7947 | Wrong binlogging of CREATE [LIKE] | DROP TABLE if TEMPORARY and transaction | ||
---|---|---|---|
Submitted: | 16 Jan 2005 20:40 | Modified: | 21 Dec 2005 13:53 |
Reporter: | Guilhem Bichot | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 4.0 | OS: | Any (all) |
Assigned to: | Bugs System | CPU Architecture: | Any |
[16 Jan 2005 20:40]
Guilhem Bichot
[25 Jan 2005 14:03]
Sergei Golubchik
There is the same problem with INSERT (and perhaps DELET/UPDATE): set autocommit=0; create temporary table t1 (a int) type=myisam; commit; insert t1 values (1); rollback; insert t0 select * from t1; (possible fix in mysql_insert() - remove log_delayed variable and use transactional_table instead)
[25 Jan 2005 17:22]
Sergei Golubchik
Same for item_user_lock_release(): SELECT GET_LOCK("lock1"); SET AUTOCOMMIT=0; --- disconnect here There will be no DO RELEASE_LOCK() in the binlog.
[29 Oct 2005 23:31]
Alexander Pachev
The original bug as well as the issue reported by Sergei with INSERT have already been fixed in the current code. The absence of DO RELEASE_LOCK() bug is still there. Still need to test DELETE/UPDATE.
[7 Nov 2005 22:09]
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/internals/32059
[8 Nov 2005 3:51]
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/internals/32072
[15 Nov 2005 20:38]
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/internals/32288
[17 Nov 2005 4:17]
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/internals/32348
[22 Nov 2005 23:32]
Alexander Pachev
Fixed in 4.1.16 and 5.0.17
[27 Nov 2005 2:28]
Alexander Pachev
Paul: The general nature of the problem is the failure to binlog events that still take place even when we ROLLBACK when ROLLBACK happens.
[21 Dec 2005 13:53]
Jon Stephens
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ Additional info: Documented bugfix in 4.1.16 and 5.0.17 changelogs. Closed.