summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.h
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2006-11-01 09:49:03 +0100
committerunknown <mats@romeo.(none)>2006-11-01 09:49:03 +0100
commit66a04036020501db8109e99fc057c0bade009f98 (patch)
treeb1558c8584bc6e891f055d64c58388962821c4ec /sql/rpl_rli.h
parentfcdee0cd397db6d6432d5594e00a26836a37a04d (diff)
downloadmariadb-git-66a04036020501db8109e99fc057c0bade009f98.tar.gz
BUG#18581 (Creation of system tables recorded in binlog causing slave failure):
Not replicating the mysql database *at all* any more. All changes to mysql tables are replicated by replicating the statements that do the changes. mysql-test/r/rpl_do_grant.result: Result change mysql-test/t/rpl_do_grant.test: Deleting grants on both master and server since the mysql database is not replicated any more. sql/handler.cc: Removing code that selectively checks what tables in the mysql database to ignore. The entire mysql database is not replicated any more. sql/log_event.cc: Disabling code to reload grants and access when certain tables are touched. sql/rpl_rli.h: Removing unused code. sql/slave.cc: Removing unused code. sql/sql_class.cc: Mysql queries (i.e., queries that affects tables in the mysql database) are now replicated by statement instead of replicating the tables in the mysql database.
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r--sql/rpl_rli.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h
index 392f12c2a71..38c51dc9d56 100644
--- a/sql/rpl_rli.h
+++ b/sql/rpl_rli.h
@@ -289,22 +289,6 @@ typedef struct st_relay_log_info
void cached_charset_invalidate();
bool cached_charset_compare(char *charset);
- /*
- To reload special tables when they are changes, we introduce a set
- of functions that will mark whenever special functions need to be
- called after modifying tables. Right now, the tables are either
- ACL tables or grants tables.
- */
- enum enum_reload_flag
- {
- RELOAD_NONE_F = 0UL,
- RELOAD_GRANT_F = (1UL << 0),
- RELOAD_ACCESS_F = (1UL << 1)
- };
-
- ulong m_reload_flags;
-
- void touching_table(char const* db, char const* table, ulong table_id);
void transaction_end(THD*);
void cleanup_context(THD *, bool);