'replication' schema being used vs. actual schema for certain INSERTs with the slave-plugin
Bug #720433 reported by
Patrick Crews
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
High
|
David Shrewsbury | ||
7.0 |
Fix Released
|
High
|
David Shrewsbury |
Bug Description
When using the slave plugin, the replication schema is being used vs. the actual schema:
drizzle> select * from applier_state;
+------
| last_applied_
+------
| 3 | STOPPED | (SQLSTATE 00000) Unknown table 'replication.A' |
+------
Related branches
lp:~dshrews/drizzle/bug720433_alter_table_fix
- Drizzle Developers: Pending requested
-
Diff: 387 lines (+69/-7)11 files modifieddrizzled/message/statement_transform.cc (+10/-0)
drizzled/message/transaction.proto (+2/-0)
drizzled/statement/alter_table.cc (+10/-3)
drizzled/statement/rename_table.cc (+5/-2)
drizzled/transaction_services.cc (+4/-1)
drizzled/transaction_services.h (+9/-1)
plugin/slave/queue_consumer.cc (+1/-0)
plugin/transaction_log/tests/r/alter.result (+4/-0)
plugin/transaction_log/tests/r/ddl_transaction_id.result (+1/-0)
plugin/transaction_log/tests/r/rename.result (+2/-0)
plugin/transaction_log/tests/r/transaction_log_alter.result (+21/-0)
tags: | added: replication |
tags: | added: slave-plugin |
Changed in drizzle: | |
milestone: | none → 2011-03-14 |
To post a comment you must log in.
(SQLSTATE 00000) Unknown table 'replication.A' applier_ state SET last_applied_ commit_ id = 3
Failure while executing:
ALTER TABLE `A` DISABLE KEYS
UPDATE replication.
Due to alter table.