1. 18 Oct, 2021 1 commit
    • Nayuta Yanagisawa's avatar
      MDEV-26539 SIGSEGV in spider_check_and_set_trx_isolation and I_P_List_iterator... · 9068020e
      Nayuta Yanagisawa authored
      MDEV-26539 SIGSEGV in spider_check_and_set_trx_isolation and I_P_List_iterator from THD::drop_temporary_table (10.5.3 opt only) on ALTER
      
      The server crashes if ALTER TABLE, which accesses physical data
      placed at data nodes, is performed on a Spider table.
      
      The cause of the bug is that spider_check_trx_and_get_conn() does
      not allocate connections if sql_command == SQLCOM_ALTER_TABLE.
      Some ALTER TABLE statements, like ALTER TABLE ... CHECK PARTITION,
      access data nodes. So, we need to allocate a new connection before
      performing ALTER TABLEs.
      9068020e
  2. 17 Oct, 2021 1 commit
  3. 15 Oct, 2021 1 commit
  4. 14 Oct, 2021 1 commit
  5. 13 Oct, 2021 10 commits
  6. 12 Oct, 2021 2 commits
  7. 11 Oct, 2021 12 commits
  8. 10 Oct, 2021 2 commits
    • Otto Kekäläinen's avatar
      Deb: Sync build and runtime dependencies from downstream to upstream · cda072bb
      Otto Kekäläinen authored
      - Go back to using $MAJOR_VER instead of hard-coded version strings where
        possible.
      
      - Default to 'auto' in NUMJOBS instead of just 1. Will make mysql-test-run
        faster.
      
      - Unify autopkgtest with latest version in Debian, use eatmydata to make
        mysql-test-run faster.
      
      - Salsa-CI: Remove obsolete 'artifacts: true' as that is the default value.
      
      - Salsa-CI: Clean away obsolete temporary fixes.
      
      - Salsa-CI: Unify with salsa-ci.yml in Debian, including test upgrades
        from Bullseye to Debian unstable.
      cda072bb
    • Otto Kekäläinen's avatar
      Deb: Correctly install test_sql_service.so · 9bb65206
      Otto Kekäläinen authored
      Completes the change that was attempted in 5ca14daf (MDEV-19275).
      9bb65206
  9. 08 Oct, 2021 2 commits
  10. 07 Oct, 2021 5 commits
  11. 06 Oct, 2021 3 commits
    • Brandon Nesterenko's avatar
      Merge branch '10.2' into 10.3 · 00affc32
      Brandon Nesterenko authored
      00affc32
    • Brandon Nesterenko's avatar
      MDEV-25444: mysql --binary-mode is not able to replay some mysqlbinlog outputs · 1ce35c32
      Brandon Nesterenko authored
      Note: This patch backports commits 10cd2818 and 1755ea4b from 10.3.
      
      10cd2818:
      Problem:- Some binary data is inserted into the table using
      Jconnector. When binlog dump of the data is applied using mysql
      client it gives syntax error.
      
      Reason:-
      After investigating it turns out to be a issue of mysql client not
      able to properly handle  \\0 <0 in binary>. In all binary files
      where mysql client fails to insert
      these 2 bytes are common (0x5c00)
      
      Solution:-
      I have changed mysql.cc to include for the possibility that binary
      string can have \\0 in it
      
      1755ea4b:
      Changes on top of Sachin’s patch. Specifically:
       1) Refined the parsing break condition to only change the parser’s
      behavior for parsing strings in binary mode (behavior of \0 outside
      of strings is unchanged).
       2) Prefixed binary_zero_insert.test with ‘mysql_’ to more clearly
      associate the  purpose of the test.
       3) As the input of the test contains binary zeros (0x5c00),
      different text editors can visualize this sequence differently, and
      Github would not display it at all. Therefore, the input itself was
      consolidated into the test and created out of hex sequences to make
      it easier to understand what is happening.
       4) Extended test to validate that the rows which correspond to the
      INSERTS with 0x5c00 have the correct binary zero data.
      
      Reviewed By:
      ============
      Andrei Elkin <andrei.elkin@mariadb.com>
      1ce35c32
    • Marko Mäkelä's avatar
      Merge 10.4 into 10.5 · 4eb7217e
      Marko Mäkelä authored
      4eb7217e