1. 02 Apr, 2020 1 commit
    • Sachin's avatar
      xyz · 8d30a9b9
      Sachin authored
      8d30a9b9
  2. 22 Mar, 2020 1 commit
  3. 12 Mar, 2020 3 commits
  4. 11 Mar, 2020 3 commits
  5. 10 Mar, 2020 1 commit
  6. 29 Nov, 2019 5 commits
  7. 28 Nov, 2019 10 commits
  8. 27 Nov, 2019 3 commits
    • Vladislav Vaintroub's avatar
      Merge branch '10.4' into 10.5 · 29710b28
      Vladislav Vaintroub authored
      # Conflicts:
      #	win/packaging/extra.wxs.in
      29710b28
    • Vladislav Vaintroub's avatar
      MDEV-19781 fixups · 96c6b2b6
      Vladislav Vaintroub authored
      - It is not enough to have  and DeleteSymlinks actions
      because within the same installation some exes executables can be both
      added and removed, which needs both adding and removing some symlinks.
      
      Instead of CreateSymlinks, there is now FixSymlinks function, which
      goes through the list, and adds or removes the symlinks as needed.
      
      - Implemented rollback for symlink custom action.
      
      - Generate list of symlinks in C++ file, using CMake, rather than storing
      lists as MSI properties.
      96c6b2b6
    • Marko Mäkelä's avatar
      Merge 10.4 into 10.5 · ddbbf976
      Marko Mäkelä authored
      ddbbf976
  9. 26 Nov, 2019 8 commits
    • Igor Babaev's avatar
      MDEV-20407 mysqld got signal 11; rowid filter · ed355f59
      Igor Babaev authored
      If a joined table is accessed by a full text index then now no range rowid
      filter can be used when accessing the records of this table.
      
      This bug was fixed by the patch for mdev-20056.
      This commit adds only a test case with a query using a full text index
      and a range condition for another index.
      ed355f59
    • Marko Mäkelä's avatar
      MDEV-21148: Assertion index->n_core_fields + n_add >= index->n_fields · 3eda03d0
      Marko Mäkelä authored
      Revert part of commit 6cedb671
      because it turns out to be theoretically impossible to parse a
      ROW_FORMAT=COMPACT or ROW_FORMAT=DYNAMIC metadata record where
      the variable-length fields in the PRIMARY KEY have been written
      as nonempty strings.
      3eda03d0
    • Monty's avatar
      Code cleanups · d1851b30
      Monty authored
      - Replace "class Repeat_count" with function call.
        There is no reason for this class to exists. More complex and more
        code than doing a function!  In addition the code didn't match what
        the val() function was doing.
      
      Other things:
      - Fixed compiler failure in print_cached_tables_callback()
      d1851b30
    • Igor Babaev's avatar
      MDEV-20056 Assertion `!prebuilt->index->is_primary()' failed · 4d4b2867
      Igor Babaev authored
                 in row_search_idx_cond_check
      
      When usage of rowid filter is evaluated by the optimizer to join a table
      to the current partial join employing a certain index it should be checked
      that a key for at least the major component of this index can be constructed
      using values from the columns of the partial join.
      4d4b2867
    • Rasmus Johansson's avatar
      MDEV-19781 Create MariaDB named commands on Windows · b6f7ec6a
      Rasmus Johansson authored
      Added CreateSymlinks and DeleteSymlinks functions to
      CustomAction.cpp. Extra.wxs.in calls them.
      b6f7ec6a
    • Marko Mäkelä's avatar
      MDEV-21152 Bogus debug assertion btr_pcur_is_after_last_in_tree() in ibuf code · dc75f3e0
      Marko Mäkelä authored
      As noted in commit abd45cdc
      a search with PAGE_CUR_GE may land on the supremum record on
      a leaf page that is not the rightmost leaf page. This could occur
      when all keys on the current page are smaller than the search key,
      and the smallest key on the successor page is larger than the search key.
      
      Hence, after a failed PAGE_CUR_GE search, assertions
      btr_pcur_is_after_last_in_tree() are bogus
      and should be replaced with btr_pcur_is_after_last_on_page().
      dc75f3e0
    • Aleksey Midenkov's avatar
      MDEV-21127 Assertion in key_text::key_text() · a35427f3
      Aleksey Midenkov authored
      Unsigned type while RHS expression could be less than 0.
      a35427f3
    • Marko Mäkelä's avatar
      MDEV-21133 Optimize access to InnoDB page header fields · 25e2a556
      Marko Mäkelä authored
      Introduce memcpy_aligned<N>(), memcmp_aligned<N>(), memset_aligned<N>()
      and use them for accessing InnoDB page header fields that are known
      to be aligned.
      
      MY_ASSUME_ALIGNED(): Wrapper for the GCC/clang __builtin_assume_aligned().
      Nothing similar seems to exist in Microsoft Visual Studio, and the
      C++20 std::assume_aligned is not available to us yet.
      
      Explicitly specified alignment guarantees allow compilers to generate
      faster code on platforms with strict alignment rules, instead of
      emitting calls to potentially unaligned memcpy(), memcmp(), or memset().
      25e2a556
  10. 25 Nov, 2019 5 commits
    • Vladislav Vaintroub's avatar
      MDEV-16264 - Fix assertion `m_queue.empty() && !m_tasks_running' in tpool::task_group destructor · 86407a59
      Vladislav Vaintroub authored
      This particular assertion happened when shutting down Innodb IO.IO shutdown properly waits for all IOs to finish
      
      
      However there is a race condition -
      right after releasing last IO slot and before decrementing task count
      in group, pending_io_count will be 0, but tasks_running will be 1,
      leading to assertion.
      
      The fix is to make task_group destructor to wait for last running task
      to finish.
      86407a59
    • Sergey Vojtovich's avatar
      Removed tc_purge() and purge_tables() argument · 38c2c16c
      Sergey Vojtovich authored
      It was mistakenly used by tdc_start_shutdown() to make sure TABLE_SHARE
      gets evicted from table definition cache when it becomes unused. However
      same effect is achieved by resetting tdc_size and tc_size.
      
      Part of MDEV-17882 - Cleanup refresh version
      38c2c16c
    • Sergey Vojtovich's avatar
      Removed kill_delayed_threads_for_table() · 092834cd
      Sergey Vojtovich authored
      After 7fb9d649 it is used only by ALTER/DROP SERVER, which most probably
      wasn't intentional as Federated never supported delayed inserts anyway.
      
      If delayed inserts will ever become an issue with ALTER/DROP SERVER, we
      should kill them by acquiring X-lock instead.
      
      Part of MDEV-17882 - Cleanup refresh version
      092834cd
    • Sergey Vojtovich's avatar
      Removed tdc_increment_refresh_version() · 0aa807d1
      Sergey Vojtovich authored
      It is never called after 7fb9d649, which makes the whole refresh version
      infrastructure useless.
      
      Removed:
      - tdc_version_t
      - TDC_VERSION_MAX
      - tdc_version
      - TDC_element::version
      - tdc_increment_refresh_version()
      - tdc_refresh_version()
      - refresh_version argument of tdc_wait_for_old_version()
      - Flush_commands status variable
      - refresh version from COM_STATISTICS
      - refresh version from dbug printouts
      
      Part of MDEV-17882 - Cleanup refresh version
      0aa807d1
    • Aleksey Midenkov's avatar
      Merge 10.4 into 10.5 · 0c05a2ed
      Aleksey Midenkov authored
      0c05a2ed