Commit 0a6cf93d authored by unknown's avatar unknown

post-merge fix

fixed bug in LOAD DATA FROM MASTER


BitKeeper/etc/ignore:
  Added scripts/mysqld_safe to the ignore list
sql/mysqld.cc:
  post-merge fix
parent 1ed2bcc8
...@@ -370,3 +370,4 @@ libmysqld/stacktrace.c ...@@ -370,3 +370,4 @@ libmysqld/stacktrace.c
sql/share/mysql sql/share/mysql
.gdbinit .gdbinit
.vimrc .vimrc
scripts/mysqld_safe
...@@ -2487,7 +2487,7 @@ enum options { ...@@ -2487,7 +2487,7 @@ enum options {
OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC, OPT_GEMINI_UNBUFFERED_IO, OPT_SKIP_SAFEMALLOC,
OPT_SKIP_STACK_TRACE, OPT_SKIP_SYMLINK, OPT_REPORT_HOST, OPT_SKIP_STACK_TRACE, OPT_SKIP_SYMLINK, OPT_REPORT_HOST,
OPT_REPORT_USER, OPT_REPORT_PASSWORD, OPT_REPORT_PORT, OPT_REPORT_USER, OPT_REPORT_PASSWORD, OPT_REPORT_PORT,
OPT_MAX_BINLOG_DUMP_EVENTS, OPT_SPORADIC_BINLOG_DUMP, OPT_MAX_BINLOG_DUMP_EVENTS, OPT_SPORADIC_BINLOG_DUMP_FAIL,
OPT_SHOW_SLAVE_AUTH_INFO}; OPT_SHOW_SLAVE_AUTH_INFO};
static struct option long_options[] = { static struct option long_options[] = {
......
...@@ -37,6 +37,10 @@ int max_binlog_dump_events = 0; // unlimited ...@@ -37,6 +37,10 @@ int max_binlog_dump_events = 0; // unlimited
bool opt_sporadic_binlog_dump_fail = 0; bool opt_sporadic_binlog_dump_fail = 0;
static int binlog_dump_count = 0; static int binlog_dump_count = 0;
#endif #endif
static uint32* slave_list_key(SLAVE_INFO* si, uint* len,
my_bool not_used __attribute__((unused)))
{
*len = 4; *len = 4;
return &si->server_id; return &si->server_id;
} }
...@@ -1143,6 +1147,7 @@ static inline int fetch_db_tables(THD* thd, MYSQL* mysql, const char* db, ...@@ -1143,6 +1147,7 @@ static inline int fetch_db_tables(THD* thd, MYSQL* mysql, const char* db,
table.next = 0; table.next = 0;
table.db = (char*)db; table.db = (char*)db;
table.real_name = (char*)table_name; table.real_name = (char*)table_name;
table.updating = 1;
if(!tables_ok(thd, &table)) if(!tables_ok(thd, &table))
continue; continue;
} }
......
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