1. 20 Sep, 2019 3 commits
    • Caribe 1999's avatar
      Fix · 9611d7e0
      Caribe 1999 authored
      There's an annoying bug that prevents a Sphinx table to connect to a searchd using a host name.
      So the example table in the documentation https://mariadb.com/kb/en/library/about-sphinxse/#basic-usage that point's to "localhost" actually doesn't work.
      After some investigation I found two errors. The first one is a wrong check after the getaddrinfo call. The second is a wrong usage of the returned struct.
      9611d7e0
    • Daniel Black's avatar
      MDEV-12646: systemd service file changes from Fedora · 75bcf1f9
      Daniel Black authored
      Include comment header that describes overrides.
      
      Unit description now includes @VERSION@.
      
      After=syslog.target removed - redunant
      
      Add --basedir=@prefix to prevent /root/.my.cnf lookups. This is
      placed after $MYSQLD_OPTIONS in case a user sets a --{no,}default
      type options which has to be first in the mysqld arguements.
      
      Additional changes to multi instance (support-files/mariadb@.service.in):
      * added @SYSTEMD_EXECSTARTPRE@ / @SYSTEMD_EXECSTARTPOST@
      * removed mariadb@bootstrap reference as galera_new_cluster as
        it's a little too proment.
      * use_galera_new_cluster.conf updated to override pre/post steps
        to ensure it has no side effects
      Signed-off-by: default avatarDaniel Black <daniel@linux.vnet.ibm.com>
      75bcf1f9
    • Marko Mäkelä's avatar
  2. 19 Sep, 2019 1 commit
  3. 18 Sep, 2019 7 commits
  4. 17 Sep, 2019 3 commits
  5. 14 Sep, 2019 2 commits
  6. 13 Sep, 2019 6 commits
    • Igor Babaev's avatar
      Post fix after the patch for MDEV-20576. · 0954bcb6
      Igor Babaev authored
      Adjusted test results.
      0954bcb6
    • Marko Mäkelä's avatar
      MDEV-13893/MDEV-12699: Enable encryption.innodb-redo-badkey · 23657a21
      Marko Mäkelä authored
      The test had been disabled in 10.2 due to frequent failures,
      in 5ec9b88e.
      After the problems were addressed, we failed to re-enable the test
      until now.
      23657a21
    • Anel Husakovic's avatar
      Enable the auto parameter of the flag `default-character-set` · 3793da44
      Anel Husakovic authored
      Closes #739
      
      When invoking option `--default-character-set=auto` character set
      from underlying OS settings should be detected for mysqldump.
      3793da44
    • Jan Lindström's avatar
      Try to fix galera.MW-336 test case. · 3422c13a
      Jan Lindström authored
      3422c13a
    • Teemu Ollakka's avatar
      MDEV-20561 Galera node shutdown fails in non-Primary (#1386) · 40beeb14
      Teemu Ollakka authored
      Command COM_SHUTDOWN was rejected in non-Primary because
      server_command_flags[COM_SHUTDOWN] had value CF_NO_COM_MULTI
      instead of CF_SKIP_WSREP_CHECK.
      
      As a fix removed assignment
      server_command_flags[CF_NO_COM_MULTI]= CF_NO_COM_MULTI
      which overwrote server_command_flags[COM_SHUTDOWN].
      40beeb14
    • Igor Babaev's avatar
      MDEV-20576 A new assertion added to check validity of calculated · deb9121f
      Igor Babaev authored
                 selectivity values fails
      
      After having set the assertion that checks validity of selectivity values
      returned by the function table_cond_selectivity() a test case from
      order_by.tesst failed. The failure occurred because range optimizer could
      return as an estimate of the cardinality of the ranges built for an index
      a number exceeding the total number of records in the table.
      
      The second bug is more subtle. It may happen when there are several
      indexes with same prefix defined on the first joined table t accessed by
      a constant ref access. In this case the range optimizer estimates the
      number of accessed records of t for each usable index and these
      estimates can be different. Only the first of these estimates is taken
      into account when the selectivity of the ref access is calculated.
      However the optimizer later can choose a different index that provides
      a different estimate. The function table_condition_selectivity() could use
      this estimate to discount the selectivity of the ref access. This could
      lead to an selectivity value returned by this function that was greater
      that 1.
      deb9121f
  7. 12 Sep, 2019 1 commit
  8. 11 Sep, 2019 8 commits
    • Sergei Petrunia's avatar
      MDEV-16560: [counter] rocksdb.ttl_secondary_read_filtering fail in buildbot · be6beb73
      Sergei Petrunia authored
      It is not reproducible, but the issue seems to be the same as with
      MDEV-20490 and rocksdb.ttl_primary_read_filtering - a compaction caused
      by DROP TABLE gets behind and compacts away the expired rows for the next
      test. Fix this in the same way.
      be6beb73
    • Sergei Petrunia's avatar
      MDEV-20371: Invalid reads at plan refinement stage: join->positions... · c8dc866f
      Sergei Petrunia authored
      best_access_path() is called from two optimization phases:
      
      1. Plan choice phase, in choose_plan(). Here, the join prefix being
         considered is in join->positions[]
      
      2. Plan refinement stage, in fix_semijoin_strategies_for_picked_join_order
         Here, the join prefix is in join->best_positions[]
      
      It used to access join->positions[] from stage #2. This didnt cause any
      valgrind or asan failures (as join->positions[] has been written-to before)
      but the effect was similar to that of reading the random data:
      The join prefix we've picked (in join->best_positions) could have
      nothing in common with the join prefix that was last to be considered
      (in join->positions).
      c8dc866f
    • Daniel Bartholomew's avatar
      bump the VERSION · 863a9517
      Daniel Bartholomew authored
      863a9517
    • Marko Mäkelä's avatar
      MDEV-20562 btr_cur_open_at_rnd_pos() fails to return error for corrupted page · 0f950e53
      Marko Mäkelä authored
      In mysql-server/commit@f46329044f8618212923bdf52e15d5b464201edc
      the InnoDB function btr_cur_open_at_rnd_pos() was corrected so that
      it would return a status that indicates whether the cursor was
      successfully positioned. But this change was not correctly merged to
      MariaDB in 2e814d47.
      
      btr_cur_open_at_rnd_pos(): In the code path that was introduced in
      MDEV-8588, properly return failure status.
      
      No deterministic test case was found for this failure.
      It was caught after removing the function
      page_copy_rec_list_end_to_created_page() in a development branch.
      As a result, the fill factor of index trees would improve, and
      supposedly, so would the probability of btr_cur_open_at_rnd_pos()
      reaching the intentionally corrupted page in the test
      innodb.leaf_page_corrupted_during_recovery.
      The wrong return value would cause
      btr_estimate_number_of_different_key_vals() to wrongly invoke
      btr_rec_get_externally_stored_len() on a non-leaf page and
      trigger an assertion failure at the start of that function.
      0f950e53
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-17939 Assertion `++loop_count < 2' failed in trx_undo_report_rename · df4dee4b
      Thirunarayanan Balathandayuthapani authored
      - During trx_undo_report_rename(), InnoDB can fail to write undo log
      for it if undo log doesn't fit in the undo page. In that case, InnoDB
      adds one more undo log page and retry to write the rename undo log.
      But the assert is wrong and it doesn't allow to fail even for one time.
      df4dee4b
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · f7fe51f1
      Marko Mäkelä authored
      f7fe51f1
    • Marko Mäkelä's avatar
      Merge 5.5 into 10.1 · d6f0e60a
      Marko Mäkelä authored
      Null merge the MDEV-14383 fix; it affects 5.5 only.
      d6f0e60a
    • Alexander Barkov's avatar
      5ec4efb7
  9. 10 Sep, 2019 1 commit
  10. 09 Sep, 2019 8 commits