Bug #24883 | Replication stalls when inserting to fully qualified table names on other db | ||
---|---|---|---|
Submitted: | 7 Dec 2006 12:55 | Modified: | 7 Dec 2006 20:42 |
Reporter: | Daniel Fiske | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0.27 | OS: | Windows (WinXP) |
Assigned to: | CPU Architecture: | Any |
[7 Dec 2006 12:55]
Daniel Fiske
[7 Dec 2006 20:42]
Sveta Smirnova
According to manual it is expected behavior. Below is quote from http://dev.mysql.com/doc/refman/5.0/en/binary-log.html: The server evaluates the options for logging or ignoring updates to the binary log according to the following rules. As described previously, there is an exception for the CREATE DATABASE, ALTER DATABASE, and DROP DATABASE statements. In those cases, the database being created, altered, or dropped replaces the default database in the following rules: 1. Are there --binlog-do-db or --binlog-ignore-db rules? * No: Write the statement to the binary log and exit. * Yes: Go to the next step. 2. There are some rules (--binlog-do-db, --binlog-ignore-db, or both). Is there a default database (has any database been selected by USE?)? * No: Do not write the statement, and exit. * Yes: Go to the next step. 3. There is a default database. Are there some --binlog-do-db rules? * Yes: Does the default database match any of the --binlog-do-db rules? o Yes: Write the statement and exit. o No: Do not write the statement, and exit. * No: Go to the next step. 4. There are some --binlog-ignore-db rules. Does the default database match any of the --binlog-ignore-db rules? * Yes: Do not write the statement, and exit. * No: Write the query and exit.