Commit 78476392 authored by unknown's avatar unknown

log_event.h fixed load data infile replication for alpha


sql/log_event.h:
  fixed load data infile replication for alpha
parent 695c8120
...@@ -300,10 +300,10 @@ class Load_log_event: public Log_event ...@@ -300,10 +300,10 @@ class Load_log_event: public Log_event
int get_data_size() int get_data_size()
{ {
return table_name_len + 2 + db_len + 2 + fname_len return table_name_len + 2 + db_len + 2 + fname_len
+ sizeof(thread_id) // thread_id + 4 // thread_id
+ sizeof(exec_time) // exec_time + 4 // exec_time
+ sizeof(skip_lines) + 4 // skip_lines
+ sizeof(field_block_len) + 4 // field block len
+ sizeof(sql_ex) + field_block_len + num_fields*sizeof(uchar) ; + sizeof(sql_ex) + field_block_len + num_fields*sizeof(uchar) ;
; ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment