@@ -30,9 +30,8 @@ namespace binary_log
30
30
*/
31
31
Rotate_event::Rotate_event (const char * buf, unsigned int event_len,
32
32
const Format_description_event *description_event)
33
- : Binary_log_event(&buf, description_event->binlog_version,
34
- description_event->server_version), new_log_ident(0 ),
35
- flags (DUP_NAME)
33
+ : Binary_log_event(&buf, description_event->binlog_version),
34
+ new_log_ident (0 ), flags(DUP_NAME)
36
35
{
37
36
// buf is advanced in Binary_log_event constructor to point to
38
37
// beginning of post-header
@@ -268,8 +267,8 @@ bool Format_description_event::is_version_before_checksum() const
268
267
269
268
Start_event_v3::Start_event_v3 (const char * buf, unsigned int event_len,
270
269
const Format_description_event *description_event)
271
- :Binary_log_event(&buf, description_event->binlog_version,
272
- description_event->server_version), binlog_version(BINLOG_VERSION)
270
+ :Binary_log_event(&buf, description_event->binlog_version) ,
271
+ binlog_version(BINLOG_VERSION)
273
272
{
274
273
if (event_len < (unsigned int )description_event->common_header_len +
275
274
ST_COMMON_HEADER_LEN_OFFSET)
@@ -466,8 +465,7 @@ Format_description_event::~Format_description_event()
466
465
*/
467
466
Incident_event::Incident_event (const char *buf, unsigned int event_len,
468
467
const Format_description_event *descr_event)
469
- : Binary_log_event(&buf, descr_event->binlog_version,
470
- descr_event->server_version)
468
+ : Binary_log_event(&buf, descr_event->binlog_version)
471
469
{
472
470
// buf is advanced in Binary_log_event constructor to point to
473
471
// beginning of post-header
@@ -529,8 +527,7 @@ Incident_event::Incident_event(const char *buf, unsigned int event_len,
529
527
530
528
Ignorable_event::Ignorable_event (const char *buf,
531
529
const Format_description_event *descr_event)
532
- : Binary_log_event(&buf, descr_event->binlog_version,
533
- descr_event->server_version)
530
+ : Binary_log_event(&buf, descr_event->binlog_version)
534
531
{}
535
532
536
533
/* *
@@ -544,8 +541,7 @@ Ignorable_event::Ignorable_event(const char *buf,
544
541
Xid_event::
545
542
Xid_event (const char * buf,
546
543
const Format_description_event *description_event)
547
- :Binary_log_event(&buf, description_event->binlog_version,
548
- description_event->server_version)
544
+ :Binary_log_event(&buf, description_event->binlog_version)
549
545
{
550
546
// buf is advanced in Binary_log_event constructor to point to
551
547
// beginning of post-header
@@ -569,8 +565,7 @@ Xid_event(const char* buf,
569
565
XA_prepare_event::
570
566
XA_prepare_event (const char * buf,
571
567
const Format_description_event *description_event)
572
- : Binary_log_event(&buf, description_event->binlog_version,
573
- description_event->server_version)
568
+ : Binary_log_event(&buf, description_event->binlog_version)
574
569
{
575
570
uint32_t temp= 0 ;
576
571
uint8_t temp_byte;
@@ -596,8 +591,7 @@ XA_prepare_event(const char* buf,
596
591
*/
597
592
Gtid_event::Gtid_event (const char *buffer, uint32_t event_len,
598
593
const Format_description_event *description_event)
599
- : Binary_log_event(&buffer, description_event->binlog_version,
600
- description_event->server_version),
594
+ : Binary_log_event(&buffer, description_event->binlog_version),
601
595
last_committed (SEQ_UNINIT), sequence_number(SEQ_UNINIT)
602
596
{
603
597
/*
@@ -662,8 +656,7 @@ Gtid_event::Gtid_event(const char *buffer, uint32_t event_len,
662
656
Previous_gtids_event::
663
657
Previous_gtids_event (const char *buffer, unsigned int event_len,
664
658
const Format_description_event *description_event)
665
- : Binary_log_event(&buffer, description_event->binlog_version,
666
- description_event->server_version)
659
+ : Binary_log_event(&buffer, description_event->binlog_version)
667
660
{
668
661
// buf is advanced in Binary_log_event constructor to point to
669
662
// beginning of post-header
@@ -684,10 +677,9 @@ Previous_gtids_event(const char *buffer, unsigned int event_len,
684
677
in this event.
685
678
*/
686
679
Transaction_context_event::
687
- Transaction_context_event (const char *buffer, unsigned int event_len,
680
+ Transaction_context_event (const char *buffer,
688
681
const Format_description_event *description_event)
689
- : Binary_log_event(&buffer, description_event->binlog_version,
690
- description_event->server_version)
682
+ : Binary_log_event(&buffer, description_event->binlog_version)
691
683
{
692
684
// buf is advanced in Binary_log_event constructor to point to
693
685
// beginning of post-header
@@ -814,10 +806,9 @@ View_change_event::View_change_event(char* raw_view_id)
814
806
}
815
807
816
808
View_change_event::
817
- View_change_event (const char *buffer, unsigned int event_len,
809
+ View_change_event (const char *buffer,
818
810
const Format_description_event *description_event)
819
- : Binary_log_event(&buffer, description_event->binlog_version,
820
- description_event->server_version),
811
+ : Binary_log_event(&buffer, description_event->binlog_version),
821
812
view_id(), seq_number(0 ), certification_info()
822
813
{
823
814
// buf is advanced in Binary_log_event constructor to point to
@@ -892,8 +883,7 @@ View_change_event::~View_change_event()
892
883
Heartbeat_event::Heartbeat_event (const char * buf, unsigned int event_len,
893
884
const Format_description_event*
894
885
description_event)
895
- : Binary_log_event(&buf, description_event->binlog_version,
896
- description_event->server_version),
886
+ : Binary_log_event(&buf, description_event->binlog_version),
897
887
log_ident (buf)
898
888
{
899
889
// buf is advanced in Binary_log_event constructor to point to
0 commit comments