summaryrefslogtreecommitdiff
path: root/sql/rpl_filter.cc
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2009-04-29 07:59:10 +0500
committerAlexey Botchkov <holyfoot@mysql.com>2009-04-29 07:59:10 +0500
commit0e88c80580b244a960afd39408f4a459c555fb56 (patch)
tree4f09cda898568a4480e2d228438c4b9befbdd3b8 /sql/rpl_filter.cc
parent755d312e8456da751f432fd0e9c211dc4aeba131 (diff)
parentddc9a195508c35fc3f83ce58327b5fe7f09f4277 (diff)
downloadmariadb-git-0e88c80580b244a960afd39408f4a459c555fb56.tar.gz
merging
Diffstat (limited to 'sql/rpl_filter.cc')
-rw-r--r--sql/rpl_filter.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/rpl_filter.cc b/sql/rpl_filter.cc
index fb609e12dcb..3004a3905e5 100644
--- a/sql/rpl_filter.cc
+++ b/sql/rpl_filter.cc
@@ -340,8 +340,7 @@ Rpl_filter::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, (uchar*)&e);
- return 0;
+ return insert_dynamic(a, (uchar*)&e);
}