summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-06-29 20:26:33 +0300
committermonty@hundin.mysql.fi <>2002-06-29 20:26:33 +0300
commit0573b66df3b9d0a35a043a97955c6deb59e71597 (patch)
tree3f4af5895e26720092bbc9a5f40873681337d97e /sql/log_event.h
parent66f86faafd7be135ed36ef1fb9382481f5b9f6f2 (diff)
downloadmariadb-git-0573b66df3b9d0a35a043a97955c6deb59e71597.tar.gz
Added support for rw_tryrdlock() and rw_trywrlock()
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 29cf6287a4f..bcdcc72e0c2 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -407,15 +407,15 @@ public:
String fields_buf;
Load_log_event(THD* thd, sql_exchange* ex, const char* db_arg,
- const char* table_name_arg,
+ const char* table_name_arg,
List<Item>& fields_arg, enum enum_duplicates handle_dup);
void set_fields(List<Item> &fields_arg);
void pack_info(String* packet);
const char* get_db() { return db; }
int exec_event(struct st_relay_log_info* rli)
- {
- return exec_event(thd->slave_net,rli);
- }
+ {
+ return exec_event(thd->slave_net,rli);
+ }
int exec_event(NET* net, struct st_relay_log_info* rli);
#else
void print(FILE* file, bool short_form = 0, char* last_db = 0);
@@ -423,8 +423,7 @@ public:
Load_log_event(const char* buf, int event_len, bool old_format);
~Load_log_event()
- {
- }
+ {}
Log_event_type get_type_code() { return sql_ex.new_format() ?
NEW_LOAD_EVENT: LOAD_EVENT; }
int write_data_header(IO_CACHE* file);