1. 06 Sep, 2019 2 commits
  2. 03 Sep, 2019 2 commits
  3. 02 Sep, 2019 6 commits
  4. 01 Sep, 2019 11 commits
  5. 31 Aug, 2019 2 commits
  6. 30 Aug, 2019 11 commits
    • Igor Babaev's avatar
      MDEV-20265 Unknown column in field list · d1ef02e9
      Igor Babaev authored
      This patch corrects the fix of the patch for mdev-19421 that resolved
      the problem of parsing some embedded join expressions such as
        t1 join t2 left join t3 on t2.a=t3.a on t1.a=t2.a.
      Yet the patch contained a bug that prevented proper context analysis
      of the queries where such expressions were used together with comma
      separated table references in from clauses.
      d1ef02e9
    • Vladislav Vaintroub's avatar
    • Oleksandr Byelkin's avatar
    • Marko Mäkelä's avatar
      Enable some RocksDB tests that are enabled on 10.2 · 396da1a7
      Marko Mäkelä authored
      FIXME: rocksdb.drop_table hangs on shutdown, but is not disabled in 10.2
      396da1a7
    • Marko Mäkelä's avatar
      Merge 10.2 into 10.3 · a5472b03
      Marko Mäkelä authored
      a5472b03
    • Marko Mäkelä's avatar
      MDEV-20066 Wrong value on instantly added column after DELETE and UPDATE · 17336f6d
      Marko Mäkelä authored
      row_upd_build_difference_binary(): Correctly handle the
      case where columns (or clustered index fields) have been added
      since the 'entry' was originally created. In this case,
      the update vector must replace any missing columns with the
      default values of the instantly added columns.
      17336f6d
    • Sergei Petrunia's avatar
      MDEV-18384: rocksdb.index_merge_rocksdb2 test fails · 1688a226
      Sergei Petrunia authored
      Merge the changes to include/index_merge*inc from the upstream. The changes
      add this command in many places:
      
       +if ($engine_type == RocksDB)
       +{
       +    set global rocksdb_force_flush_memtable_now=1;
       +}
      
      also add it in one more place to make the test truly stable.
      1688a226
    • Marko Mäkelä's avatar
      MDEV-20425: Fix -Wimplicit-fallthrough · f42a2317
      Marko Mäkelä authored
      With --skip-debug-assert, DBUG_ASSERT(false) will allow execution to
      continue. Hence, we will need /* fall through */ after them.
      
      Some DBUG_ASSERT(0) were replaced by break; when the switch () statement
      was followed by DBUG_ASSERT(0).
      f42a2317
    • Sergei Petrunia's avatar
      MDEV-20109: Optimizer ignores distinct key created for materialized... · a379f151
      Sergei Petrunia authored
      Adjust the testcase according to the review input
      a379f151
    • Sergei Petrunia's avatar
      MDEV-20109: Optimizer ignores distinct key created for materialized... · ef76f81c
      Sergei Petrunia authored
      (Backported to 10.3, addressed review input)
      
      Sj_materialization_picker::check_qep(): fix error in cost/fanout
      calculations:
      - for each join prefix, add #prefix_rows / TIME_FOR_COMPARE to the cost,
        like best_extension_by_limited_search does
      - Remove the fanout produced by the subquery tables.
      - Also take into account join condition selectivity
      
      optimize_wo_join_buffering() (used by LooseScan and FirstMatch)
      - also add #prefix_rows / TIME_FOR_COMPARE to the cost of each prefix.
      - Also take into account join condition selectivity
      ef76f81c
    • Teemu Ollakka's avatar
      MDEV-19826 10.4 seems to crash with "pool-of-threads" (#1370) · 9487e0b2
      Teemu Ollakka authored
      MariaDB 10.4 was crashing when thread-handling was set to
      pool-of-threads and wsrep was enabled.
      
      There were two apparent reasons for the crash:
      - Connection handling in threadpool_common.cc was missing calls to
        control wsrep client state.
      - Thread specific storage which contains thread variables (THR_KEY_mysys)
        was not handled appropriately by wsrep patch when pool-of-threads
        was configured.
      
      This patch addresses the above issues in the following way:
      - Wsrep client state open/close was moved in thd_prepare_connection() and
        end_connection() to have common handling for one-thread-per-connection
        and pool-of-threads.
      - Thread local storage handling in wsrep patch was reworked by introducing
        set of wsrep_xxx_threadvars() calls which replace calls to
        THD store_globals()/reset_globals() and deal with thread handling
        specifics internally.
      
      Wsrep-lib was updated to version which relaxes internal concurrency
      related sanity checks.
      
      Rollback code from wsrep_rollback_process() was extracted to separate calls
      for better readability.
      
      Post rollback thread was removed as it was completely unused.
      9487e0b2
  7. 29 Aug, 2019 6 commits
    • Vladislav Vaintroub's avatar
      MDEV-20432 : add MYSQL_PLUGIN_IMPORT · d22f8c45
      Vladislav Vaintroub authored
      Mroonga does not build on Windows due to log_10_int being used
      (indirectly) and n ot properly decorated with MYSQL_PLUGIN_IMPORT
      d22f8c45
    • Marko Mäkelä's avatar
      MDEV-20149 innodb.innodb-system-table-view fails with wrong result · d58437d1
      Marko Mäkelä authored
      The test occasionally fails with different table reference count
      due to purge activity after INSERT operations (MDEV-12288).
      Wait for purge before accessing dict_table_t::n_ref_count.
      d58437d1
    • Marko Mäkelä's avatar
      After-merge fix · d4246e25
      Marko Mäkelä authored
      Merge a part of commit 25af2a18.
      This was forgotten in the
      merge commit e41eb044.
      d4246e25
    • Marko Mäkelä's avatar
      MDEV-20425 Implement Boolean debug build option debug_assert · e50b2bdb
      Marko Mäkelä authored
      Commit 536215e3 in MariaDB Server 10.3.1
      introduced the compiler flag (not cmake option) DBUG_ASSERT_AS_PRINTF
      that converts DBUG_ASSERT in non-debug builds into printouts.
      
      For debug builds, it could be useful to be able to convert DBUG_ASSERT
      into a warning or error printout, to allow execution to continue.
      This would allow debug builds to be used for reproducing hard failures
      that occur with release builds.
      
      my_assert: A Boolean flag (set by default), tied to the new option
      debug_assert that is available on debug builds only.
      When set, DBUG_ASSERT() will invoke assert(), like it did until now.
      When unset, DBUG_ASSERT() will invoke fprintf(stderr, ...)
      with the file name, line number and assertion expression.
      e50b2bdb
    • Monty's avatar
      Updated libmarias3 to latest version · fac81c67
      Monty authored
      This fixed a bug that caused the amazon.test to fail
      fac81c67
    • Marko Mäkelä's avatar
      Merge 10.2 into 10.3 · 1a3c3659
      Marko Mäkelä authored
      1a3c3659