summaryrefslogtreecommitdiff
path: root/sql/sql_repl.h
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-08-03 15:57:53 -0600
committersasha@mysql.sashanet.com <>2001-08-03 15:57:53 -0600
commit09eda84f2e0a8e9475017b607f66efe2e63aca34 (patch)
tree7a15577166ddda4e7b8c9c9cb80471777aeb717b /sql/sql_repl.h
parentd4d22f21fd2723689ba8f7bb3c2e1f1bac8aa0c8 (diff)
downloadmariadb-git-09eda84f2e0a8e9475017b607f66efe2e63aca34.tar.gz
LOAD DATA INFILE is now replicated properly, except for cleanup on
Stop event and bugs the test suite could not catch Did some big restructuring of binlog event classes - most important change is that now each event class has exec_event method and one does not need to modify slave core code to add a new event. Slave code is now much smaller and easier to read
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r--sql/sql_repl.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h
index 7d40f22d8fb..3445cd67b42 100644
--- a/sql/sql_repl.h
+++ b/sql/sql_repl.h
@@ -12,7 +12,7 @@ typedef struct st_slave_info
uint16 port;
} SLAVE_INFO;
-extern bool opt_show_slave_auth_info;
+extern bool opt_show_slave_auth_info, opt_old_rpl_compat;
extern HASH slave_list;
extern char* master_host;
extern my_string opt_bin_logname, master_info_file;
@@ -51,4 +51,19 @@ int show_binlogs(THD* thd);
extern int init_master_info(MASTER_INFO* mi);
void kill_zombie_dump_threads(uint32 slave_server_id);
+typedef struct st_load_file_info
+{
+ THD* thd;
+ sql_exchange* ex;
+ List <Item> *fields;
+ enum enum_duplicates handle_dup;
+ char* db;
+ char* table_name;
+ bool wrote_create_file;
+ my_off_t last_pos_in_file;
+} LOAD_FILE_INFO;
+
+int log_loaded_block(IO_CACHE* file);
+
#endif
+