summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-12-11 14:22:48 -0700
committerunknown <sasha@mysql.sashanet.com>2000-12-11 14:22:48 -0700
commit7847639270269bc6aebeed36e68ddfec0cf6c145 (patch)
tree8220f6a1dec98313e0e96c2d6ffdd2a452b3d03d /sql/log_event.h
parent695c8120e14a0e8a35a64f294f976d75e472cbc1 (diff)
downloadmariadb-git-7847639270269bc6aebeed36e68ddfec0cf6c145.tar.gz
log_event.h fixed load data infile replication for alpha
sql/log_event.h: fixed load data infile replication for alpha
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index babf76aa428..9c97a1a121c 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -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) ;
;
}