diff options
author | unknown <serg@serg.mylan> | 2005-09-21 17:42:44 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-09-21 17:42:44 +0200 |
commit | c54ec3866f0d4bff30f5ecb190be51fbf0a8e976 (patch) | |
tree | d2a90066bc4c5375327f5a42f732d5b0e36337f7 /sql/slave.cc | |
parent | 96c8ffdde10edcdf10858fffe78b408a2711b3ea (diff) | |
parent | 4956432b12371eb309ab8e31429adfcdc41cc983 (diff) | |
download | mariadb-git-c54ec3866f0d4bff30f5ecb190be51fbf0a8e976.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0-merged
sql/ha_myisam.cc:
Auto merged
sql/handler.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/set_var.cc:
Auto merged
sql/slave.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 7bbad84debb..092fb40d9d9 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -861,14 +861,6 @@ static TABLE_RULE_ENT* find_wild(DYNAMIC_ARRAY *a, const char* key, int len) rules (see code below). For that reason, users should not set conflicting rules because they may get unpredicted results (precedence order is explained in the manual). - If no table of the list is marked "updating" (so far this can only happen - if the statement is a multi-delete (SQLCOM_DELETE_MULTI) and the "tables" - is the tables in the FROM): then we always return 0, because there is no - reason we play this statement on this slave if it updates nothing. In the - case of SQLCOM_DELETE_MULTI, there will be a second call to tables_ok(), - with tables having "updating==TRUE" (those after the DELETE), so this - second call will make the decision (because - all_tables_not_ok() = !tables_ok(1st_list) && !tables_ok(2nd_list)). Thought which arose from a question of a big customer "I want to include all tables like "abc.%" except the "%.EFG"". This can't be done now. If we |