Bug #7822 storage_engine is not replicated
| Submitted: | 12 Jan 2005 0:59 | Modified: | 7 Oct 2008 11:37 |
|---|---|---|---|
| Reporter: | Sergey Petrunya | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
| Version: | 5.0-bk | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[12 Jan 2005 0:59]
Sergey Petrunya
[31 Jan 2005 22:34]
Guilhem Bichot
It's listed in the replication known problems. It will be fixed (hopefully in 5.0) like this: for each CREATE TABLE which uses the @@STORAGE_ENGINE variable (we already have a flag for this, HA_ENGINE_USED), add an info in the Query_log_event of the CREATE TABLE to say this uses @@STORAGE_ENGINE=value. We don't need to reset it after executing the event. Only problem is that users may rely on the current behaviour to have Engine1->Engine2 replication (InnoDB->MyISAM for example). So we would need to provide an option to either not store the info in binlog (master's option) or not use it on slave (slave's option). Slave's option looks more flexible.
[26 Jan 2006 8:45]
Guilhem Bichot
Not so bad suggested solutions in this bug report. See also WL#755 and BUG#88.
[12 Feb 2007 17:44]
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/19707 ChangeSet@1.2408, 2007-02-12 18:43:41+01:00, gmax@gmac. +13 -0 Changed file for transactional locks test. - Added sections to isolate transaction chuncks; - removed storage_engine variable to avoid effects of bug#7822 Added tests for MyISAM (single server) and for replication (InnoDB and MyISAM)
[29 Sep 2008 21:09]
Konstantin Osipov
Lars, is this still true? I believe the bug is fixed?
[7 Oct 2008 11:37]
Susanne Ebrecht
I can't repeat this with newer version of MySQL. Tested with actual MySQL 5.0 and 5.1 bzr tree.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.