diff options
author | Andrei Elkin <aelkin@mysql.com> | 2009-04-30 15:41:47 +0300 |
---|---|---|
committer | Andrei Elkin <aelkin@mysql.com> | 2009-04-30 15:41:47 +0300 |
commit | 9cf91b4cd976e66ea29b4f57634e661d4bfe975e (patch) | |
tree | 85364982698622d444c5eccfd913be834a749ffe /sql/slave.cc | |
parent | d38e62634f4763d84d5bc54929c2c0c1595d51d2 (diff) | |
parent | e5d859fab7e5973731b0816339b2a2714571487e (diff) | |
download | mariadb-git-9cf91b4cd976e66ea29b4f57634e661d4bfe975e.tar.gz |
merging from 5.0-bt rep to a local branch
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index f9ae7eb92b6..58a108b9ce7 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1104,8 +1104,7 @@ int add_wild_table_rule(DYNAMIC_ARRAY* a, const char* table_spec) e->tbl_name = e->db + (dot - table_spec) + 1; e->key_len = len; memcpy(e->db, table_spec, len); - insert_dynamic(a, (gptr)&e); - return 0; + return insert_dynamic(a, (gptr)&e); } |