• unknown's avatar
    Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · 00bedd03
    unknown authored
    previous correction didn't. make sure "tail" is fixed up
    when filling cache several times; rework formulae.
    ---
    Merge sin.intern.azundris.com:/home/tnurnberg/22540/50-22540
    into  sin.intern.azundris.com:/home/tnurnberg/22540/51-22540
    
    
    mysql-test/extra/binlog_tests/binlog.test:
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
      
      show that fix for absolute end_log_pos in binlog also
      works when cache is read several times and headers are
      split across that boundary
      
      show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
      show that SHOW MASTER STATUS returns correct values while in transactions
      (so that mysqldump --master-data will work correctly).
      also remove bdb dependency.
    mysql-test/r/binlog_row_binlog.result:
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
      
      show that fix for absolute end_log_pos in binlog also
      works when cache is read several times and headers are
      split across that boundary
      
      show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
      show that SHOW MASTER STATUS returns correct values while in transactions
      (so that mysqldump --master-data will work correctly).
      also remove bdb dependency.
    mysql-test/r/binlog_stm_binlog.result:
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
      
      show that fix for absolute end_log_pos in binlog also
      works when cache is read several times and headers are
      split across that boundary
      
      show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
      show that SHOW MASTER STATUS returns correct values while in transactions
      (so that mysqldump --master-data will work correctly).
      also remove bdb dependency.
    mysql-test/r/rpl_row_create_table.result:
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
      
      expect corrent end_log_pos in binlog
    sql/log.cc:
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
      
      previous correction didn't. make sure "tail" is fixed up
      when filling cache several times; rework formulae.
    00bedd03
log.cc 146 KB