log_event.h fixed load data infile replication for alpha

parent 3417aa25
......@@ -300,10 +300,10 @@ public:
int get_data_size()
{
return table_name_len + 2 + db_len + 2 + fname_len
+ sizeof(thread_id) // thread_id
+ sizeof(exec_time) // exec_time
+ sizeof(skip_lines)
+ sizeof(field_block_len)
+ 4 // thread_id
+ 4 // exec_time
+ 4 // skip_lines
+ 4 // field block len
+ 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