Commit ce2b875f authored by unknown's avatar unknown

Bug #21378 Alter table from X storage engine to NDB could cause data loss: post review fix

parent fe86fdc1
...@@ -1804,7 +1804,7 @@ ndb_binlog_thread_handle_schema_event(THD *thd, Ndb *ndb, ...@@ -1804,7 +1804,7 @@ ndb_binlog_thread_handle_schema_event(THD *thd, Ndb *ndb,
if (ndbcluster_check_if_local_table(schema->db, schema->name)) if (ndbcluster_check_if_local_table(schema->db, schema->name))
{ {
DBUG_PRINT("info", ("NDB binlog: Skipping locally defined table '%s.%s'", DBUG_PRINT("info", ("NDB binlog: Skipping locally defined table '%s.%s'",
schema->db, schema->name, schema->query)); schema->db, schema->name));
sql_print_error("NDB binlog: Skipping locally defined table '%s.%s' from " sql_print_error("NDB binlog: Skipping locally defined table '%s.%s' from "
"binlog schema event '%s' from node %d. ", "binlog schema event '%s' from node %d. ",
schema->db, schema->name, schema->query, schema->db, schema->name, schema->query,
...@@ -2064,7 +2064,7 @@ ndb_binlog_thread_handle_schema_event_post_epoch(THD *thd, ...@@ -2064,7 +2064,7 @@ ndb_binlog_thread_handle_schema_event_post_epoch(THD *thd,
if (ndbcluster_check_if_local_table(schema->db, schema->name)) if (ndbcluster_check_if_local_table(schema->db, schema->name))
{ {
DBUG_PRINT("info", ("NDB binlog: Skipping locally defined table '%s.%s'", DBUG_PRINT("info", ("NDB binlog: Skipping locally defined table '%s.%s'",
schema->db, schema->name, schema->query)); schema->db, schema->name));
sql_print_error("NDB binlog: Skipping locally defined table '%s.%s' from " sql_print_error("NDB binlog: Skipping locally defined table '%s.%s' from "
"binlog schema event '%s' from node %d. ", "binlog schema event '%s' from node %d. ",
schema->db, schema->name, schema->query, schema->db, schema->name, schema->query,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment