1. 13 Oct, 2021 5 commits
  2. 12 Oct, 2021 2 commits
  3. 11 Oct, 2021 12 commits
  4. 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
  5. 08 Oct, 2021 2 commits
  6. 07 Oct, 2021 5 commits
  7. 06 Oct, 2021 5 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
    • mkaruza's avatar
      MDEV-22708 Assertion `!mysql_bin_log.is_open() ||... · a75813d4
      mkaruza authored
      MDEV-22708 Assertion `!mysql_bin_log.is_open() || thd.is_current_stmt_binlog_format_row()' failed in Delayed_insert::handle_inserts and in Diagnostics_area::set_eof_status
      
      Function `upgrade_lock_type` should check global binlog_format variable
      instead of thread one.
      Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
      a75813d4
    • Marko Mäkelä's avatar
      Update libmariadb · 48f1b694
      Marko Mäkelä authored
      48f1b694
  8. 05 Oct, 2021 4 commits
    • Brandon Nesterenko's avatar
      MDEV-25444: mysql --binary-mode is not able to replay some mysqlbinlog outputs · 1755ea4b
      Brandon Nesterenko authored
      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>
      1755ea4b
    • Sachin Kumar's avatar
      MDEV-25444 mysql --binary-mode is not able to replay some mysqlbinlog outputs · 10cd2818
      Sachin Kumar authored
      Problem:- Some binary data is inserted into the table using Jconnector. When
      binlog dump of the data is applied using mysql cleint 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 commom (0x5c00)
      
      Solution:-
      I have changed mysql.cc to include for the possibility that binary string can
      have \\\0 in it
      10cd2818
    • Marko Mäkelä's avatar
      MDEV-26761: main.mysql_client_test fails with MemorySanitizer · 1146b5cb
      Marko Mäkelä authored
      Updated libmariadb and enable the test.
      1146b5cb
    • Marko Mäkelä's avatar
      MDEV-26445 followup: Try to work around GCC 4.8.5 ICE on ARMv8 · df94aa34
      Marko Mäkelä authored
      GCC 4.8.5 would crash when compiling trx_purge_truncate_history().
      Let us try to avoid that by disabling optimizations for the function.
      df94aa34
  9. 04 Oct, 2021 3 commits