diff options
author | sasha@mysql.sashanet.com <> | 2000-12-07 11:40:22 -0700 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2000-12-07 11:40:22 -0700 |
commit | 3e4697c8b24a5f0dbc4a96280c2ee79f9fb467d2 (patch) | |
tree | 33ccbfceb83e94bc07d50f125b617e08cb8c8cbe /sql/slave.cc | |
parent | b169cd69e82b61c0c8d0a9a5236ba2b2d5c81dae (diff) | |
download | mariadb-git-3e4697c8b24a5f0dbc4a96280c2ee79f9fb467d2.tar.gz |
rpl000001 sporadic failure mystery solved - the table was being opened twice :-)
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index bea48af02af..ece6341ca16 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -861,14 +861,7 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len) tables.db = thd->db; tables.name = tables.real_name = (char*)lev->table_name; tables.lock_type = TL_WRITE; - - if (open_tables(thd, &tables)) - { - sql_print_error("Slave: error opening table %s ", - tables.name); - delete ev; - return 1; - } + // the table will be opened in mysql_load List<Item> fields; lev->set_fields(fields); |