1. 22 Apr, 2020 1 commit
  2. 18 Apr, 2020 1 commit
    • Teemu Ollakka's avatar
      MDEV-21025 Server crashes on START TRANSACTION after INSERT IGNORE (#1489) · 632b1deb
      Teemu Ollakka authored
      If a transaction had no effect due to INSERT IGNORE and a new
      transaction was started with START TRANSACTION without committing
      the previous one, the server crashed on assertion when starting
      a new wsrep transaction.
      
      As a fix, refined the condition to do wsrep_commit_empty() at the end
      of the ha_commit_trans().
      632b1deb
  3. 17 Apr, 2020 3 commits
  4. 16 Apr, 2020 1 commit
  5. 15 Apr, 2020 6 commits
  6. 14 Apr, 2020 2 commits
  7. 13 Apr, 2020 6 commits
  8. 12 Apr, 2020 1 commit
  9. 10 Apr, 2020 1 commit
    • Sergey Vojtovich's avatar
      MDEV-21599 - plugins.server_audit fails sporadically in buildbot · 06219c2a
      Sergey Vojtovich authored
      Fixed a couple of race conditions in the test case to ensure stable order
      of events. Also removed all sleeps. Test execution time is down from 18s
      to 0.15s.
      
      On disconnect audit event is triggered after control is returned to
      mysqltest client. Which means mysqltest may issue more commands
      concurrently before disconnect is actually logged.
      
      Similar problem happens with regular query execution: an event is
      triggered after control is returner to the client. Which may end
      up with unstable order of events in different connections.
      
      Delayed insert rows are enqueued separately and can either be combined
      into single event or go as separate events. Reduced number of inserted
      rows to 1 to stabilize result.
      
      Also backported 2b3f6ab4 from 10.5.
      06219c2a
  10. 08 Apr, 2020 5 commits
  11. 07 Apr, 2020 2 commits
    • Vlad Lesin's avatar
      MDEV-21168: Active XA transactions stop slave from working after backup · 5836191c
      Vlad Lesin authored
      was restored.
      
      Optionally rollback prepared XA's on "mariabackup --prepare".
      
      The fix MUST NOT be ported on 10.5+, as MDEV-742 fix solves the issue for
      slaves.
      5836191c
    • Rasmus Johansson's avatar
      MDEV-22176 Add JUnit support to MTR to generate XML test result · 5720db2b
      Rasmus Johansson authored
      A new parameter has been added called xml-report, with which the
      filename of the XML file is given to which the XML result is
      written. There is also xml-package for adding a package value in
      the XML output. Example usage:
      ./mysql-test-run.pl main.events_bugs innodb.count_distinct
      main.explain_json innodb.file_format_defaults json.json_no_table
      --suite=main,innodb,json --force --xml-report=build123456789.xml
      --xml-package=simpletestrun
      5720db2b
  12. 06 Apr, 2020 2 commits
  13. 05 Apr, 2020 3 commits
  14. 04 Apr, 2020 1 commit
    • Igor Babaev's avatar
      MDEV-21673 Calling stored procedure twice in the same session causes MariaDB to crash · 21b87437
      Igor Babaev authored
      This bug could happen only with a stored procedure containing queries with
      more than one reference to a CTE that used local variables / parameters.
      
      This bug was the result of an incomplete merge of the fix for the bug
      MDEV-17154. The merge covered usage of parameter markers occurred in a CTE
      that was referenced more than once, but missed coverage of local variables.
      21b87437
  15. 03 Apr, 2020 5 commits
    • Aleksey Midenkov's avatar
      MDEV-21471 ER_CRASHED_ON_USAGE upon UPDATE FOR PORTION on Aria table · aa7f2578
      Aleksey Midenkov authored
      Turn read cache off for periodic update.
      
      Like 498a96a4 says:
      
      Aria with row_format=fixed uses IO_CACHE of type READ_CACHE for
      sequential read in update loop. When history row is inserted inside
      this loop the cache misses it and fails with error.
      
      This applicable to any additional row inserts on UPDATE. In this case
      it was initiated by UPDATE FOR PORTION.
      
      Related to MDEV-20441.
      aa7f2578
    • Aleksey Midenkov's avatar
      198af54b
    • Aleksey Midenkov's avatar
      MDEV-20494 ER_NOT_FORM_FILE or assertion upon adding partition to period table · 76063c2a
      Aleksey Midenkov authored
      - Fixed mysql_prepare_create_table() constraint duplicate checking;
      - Refactored period constraint handling in mysql_prepare_alter_table():
        * No need to allocate new objects;
        * Keep old constraint name but exclude it from dup checking by automatic_name;
      - Some minor memory leaks fixed;
      - Some conceptual TODOs.
      76063c2a
    • Daniel Black's avatar
      Correct FreeBSD cpuset_t type · cd88a606
      Daniel Black authored
      cd88a606
    • Hannu Hartikainen's avatar
      my.cnf: mention that config files must be *.cnf · 64b70b09
      Hannu Hartikainen authored
      It took me a long time to debug why my configs were not being loaded,
      and judging from online discussions I'm not the only one. Make the
      comment in the default my.cnf a bit more helpful.
      
      The !includedir directive is implemented in mysys/my_default.c.
      
      - f_extensions[] is a list of file extensions. It includes .ini and .cnf
        on Windows, and only .cnf on all other platforms.
      - search_default_file_with_ext() contains the !includedir directive. It
        filters files in the directory to those matching f_extensions[].
      
      This file should only be applicable on Unix-like platforms, so only
      files with the .cnf extension are read.
      
      Closes #1485
      64b70b09