diff options
author | unknown <lars@mysql.com/black.(none)> | 2006-10-31 16:51:51 +0100 |
---|---|---|
committer | unknown <lars@mysql.com/black.(none)> | 2006-10-31 16:51:51 +0100 |
commit | 82e8dfd52139368a558190fb986d1cbf1e8b45d4 (patch) | |
tree | 8d986b097c2fb6c6f286f60ab5099088ea20d7b0 /sql/rpl_rli.h | |
parent | a78bdf82250f771f35aa35210da2b7729bbe9b05 (diff) | |
download | mariadb-git-82e8dfd52139368a558190fb986d1cbf1e8b45d4.tar.gz |
Refactoring: Moved master info functionality into rpl_mi.cc to
make code easier to maintain.
sql/CMakeLists.txt:
New file
sql/Makefile.am:
New file
sql/rpl_rli.h:
Changed master_info into a class
sql/slave.cc:
Moved master info functionality into rpl_mi.cc
sql/slave.h:
Moved master info functionality into rpl_mi.cc
sql/rpl_mi.cc:
Moved master info functionality into rpl_mi.cc
sql/rpl_mi.h:
Moved master info functionality into rpl_mi.cc
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r-- | sql/rpl_rli.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h index 479b4fcd5cb..b8b6f5ebc99 100644 --- a/sql/rpl_rli.h +++ b/sql/rpl_rli.h @@ -99,8 +99,8 @@ typedef struct st_relay_log_info */ pthread_cond_t start_cond, stop_cond, data_cond; - /* parent master info structure */ - struct st_master_info *mi; + /* parent MASTER_INFO structure */ + class MASTER_INFO *mi; /* Needed to deal properly with cur_log getting closed and re-opened with |