Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11871

Test mysqlbinlog.test fails with warnings "bytes lost"

    XMLWordPrintable

    Details

      Description

      The problem appeared in 10.2 tree with the flashback commit

      # commit d75d8631ed2d6af730931ea7079ec7e512e61796
      # Author: Monty <monty@mariadb.org>
      # Date:   Fri Jan 20 15:33:28 2017 +0200
      # 
      #     [MDEV-10570] Add Flashback support
      

      main.mysqlbinlog                         [ fail ]
              Test ended at 2017-01-22 18:21:22
       
      CURRENT_TEST: main.mysqlbinlog
      ERROR: Error in Log_event::read_log_event(): 'Found invalid event in binary log', data_len: 171, event_type: 2
      ERROR: Could not read entry at offset 91204: Error in log format or read error.
      ERROR 1227 (42000) at line 7: Access denied; you need (at least one of) the SUPER privilege(s) for this operation
      --- /data/bld/10.2/mysql-test/r/mysqlbinlog.result	2016-10-16 21:56:47.000000000 +0000
      +++ /data/bld/10.2/mysql-test/r/mysqlbinlog.reject	2017-01-22 16:21:22.078056160 +0000
      @@ -513,6 +513,10 @@
       1
       1
       drop procedure p1;
      +Warning: 16384 bytes lost at 0x7fedb2d9f4e0, allocated by T@0 at 0x7fedb0ccb11f, 0x7fedb0c77bb8, 0x7fedaf3f3b45, 0x7fedb0c72b99
      +Memory lost: 16384 bytes in 1 chunks
      +Warning: 16384 bytes lost at 0x7f601bc414e0, allocated by T@0 at mysys/array.c:70, client/mysqlbinlog.cc:2883, 0x7f60188d4b45, 0x7f601a153b99
      +Memory lost: 16384 bytes in 1 chunks
       flush logs;
       create table t1 (a varchar(64) character set utf8);
       load data infile '../../std_data/loaddata6.dat' into table t1;
       
      mysqltest: Result length mismatch
      

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration