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

mysqlbinlog --verbose fails on row events with vector type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • N/A
    • 11.7.1
    • Vector search
    • None

    Description

      --source include/have_binlog_format_row.inc
       
      reset master;
      create or replace table t (v vector(1));
      insert into t values (0x0000000);
      flush binary logs;
      --let $datadir= `select @@datadir`
      --exec $MYSQL_BINLOG --verbose $datadir/master-bin.000001
       
      # Cleanup
      drop table t;
      

      bb-11.6-MDEV-32887-vector 1ec610ffa3bffdc25bd8cc18b48f3bdcf17e259d

      CURRENT_TEST: bug.t
      mysqltest: At line 8: exec of '/mnt8t/bld/preview-11.7-bb-11.6-MDEV-32887-vector-ubsan/client//mariadb-binlog --defaults-file=/mnt8t/bld/preview-11.7-bb-11.6-MDEV-32887-vector-ubsan/mysql-test/var/my.cnf --local-load=/mnt8t/bld/preview-11.7-bb-11.6-MDEV-32887-vector-ubsan/mysql-test/var/tmp --verbose /mnt8t/bld/preview-11.7-bb-11.6-MDEV-32887-vector-ubsan/mysql-test/var/mysqld.1/data//master-bin.000001' failed, error: 256, status: 1, errno: 11
      Output from before failure:
      /*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
      /*!40019 SET @@session.max_delayed_threads=0*/;
      /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
      DELIMITER /*!*/;
      # at 4
      #241018 17:11:50 server id 1  end_log_pos 256 CRC32 0x789ea07f 	Start: binlog v 4, server v 11.7.0-MariaDB-debug-log created 241018 17:11:50 at startup
      ROLLBACK/*!*/;
      BINLOG '
      pmwSZw8BAAAA/AAAAAABAAAAAAQAMTEuNy4wLU1hcmlhREItZGVidWctbG9nAAAAAAAAAAAAAAAA
      AAAAAAAAAAAAAAAAAACmbBJnEzgNAAgAEgAEBAQEEgAA5AAEGggAAAAICAgCAAAACgoKAAAAAAAA
      AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
      AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
      AAAAAAAAAAAEEwQADQgICAoKCgF/oJ54
      '/*!*/;
      # at 256
      #241018 17:11:50 server id 1  end_log_pos 285 CRC32 0x30ab2f42 	Gtid list []
      # at 285
      #241018 17:11:50 server id 1  end_log_pos 329 CRC32 0x95009982 	Binlog checkpoint master-bin.000001
      # at 329
      #241018 17:11:50 server id 1  end_log_pos 371 CRC32 0xabb302a4 	GTID 0-1-1 ddl thread_id=5
      /*M!100101 SET @@session.skip_parallel_replication=0*//*!*/;
      /*M!100001 SET @@session.gtid_domain_id=0*//*!*/;
      /*M!100001 SET @@session.server_id=1*//*!*/;
      /*M!100001 SET @@session.gtid_seq_no=1*//*!*/;
      # at 371
      #241018 17:11:50 server id 1  end_log_pos 486 CRC32 0x7f7b0ecd 	Query	thread_id=5	exec_time=0	error_code=0	xid=26
      use `test`/*!*/;
      SET TIMESTAMP=1729260710/*!*/;
      SET @@session.pseudo_thread_id=5/*!*/;
      SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1, @@session.check_constraint_checks=1, @@session.sql_if_exists=0, @@session.explicit_defaults_for_timestamp=1, @@session.system_versioning_insert_history=0/*!*/;
      SET @@session.sql_mode=1411383296/*!*/;
      SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
      /*!\C latin1 *//*!*/;
      SET @@session.character_set_client=latin1,@@session.collation_connection=8,@@session.collation_server=2304/*!*/;
      SET @@session.lc_time_names=0/*!*/;
      SET @@session.collation_database=DEFAULT/*!*/;
      create or replace table t (v vector(1))
      /*!*/;
      # at 486
      #241018 17:11:50 server id 1  end_log_pos 528 CRC32 0x07df7c7b 	GTID 0-1-2 thread_id=5
      /*M!100001 SET @@session.gtid_seq_no=2*//*!*/;
      START TRANSACTION
      /*!*/;
      # at 528
      # at 583
      #241018 17:11:50 server id 1  end_log_pos 0 CRC32 0x3ecf5164 	Annotate_rows:
      #Q> insert into t values (0x0000000)
      #241018 17:11:50 server id 1  end_log_pos 0 CRC32 0xdb749c9c 	Table_map: `test`.`t` mapped to number 32
      # at 629
      

      It really doesn't say much, even outside MTR, it just aborts with non-zero exit code when it reaches the event.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.