1. 15 Jan, 2019 2 commits
  2. 14 Jan, 2019 1 commit
  3. 06 Jan, 2019 1 commit
    • Varun Gupta's avatar
      MDEV-13784: query causes seg fault · d0d0f88f
      Varun Gupta authored
      When we have a nested subquery then a subquery that was a dependent subquery
      may change to an independent one when we optimizer the inner subqueries.
      This is handled st_select_lex::optimize_unflattened_subqueries.
      Currently a subquery that was changed to independent from dependent after optimization
      phase incorrectly shows dependent in the output of Explain, this happens because we
      don't update used_tables for the WHERE clause, ON clause, etc after the optimization phase.
      d0d0f88f
  4. 02 Jan, 2019 4 commits
  5. 29 Dec, 2018 1 commit
    • Eugene Kosov's avatar
      MDEV-18041 Database corruption after renaming a prefix-indexed column · 802ce967
      Eugene Kosov authored
      This is a regression after MDEV-13671.
      
      The bug is related to key part prefix lengths wich are stored in SYS_FIELDS.
      Storage format is not obvious and was handled incorrectly which led to data
      dictionary corruption.
      
      SYS_FIELDS.POS actually contains prefix length too in case if any key part
      has prefix length.
      
      innobase_rename_column_try(): fixed prefixes handling
      
      Tests for prefixed indexes added too.
      
      Closes #1063
      802ce967
  6. 28 Dec, 2018 1 commit
    • Marko Mäkelä's avatar
      row_drop_table_for_mysql(): Correct a parameter to innobase_format_name() · b74eb5a5
      Marko Mäkelä authored
      This fixes a regression that was introduced in MySQL 5.6.6
      in an error handling code path, in the following change:
      
      commit 024f363d6b5f09b20d1bba411af55be95c7398d3
      Author: kevin.lewis@oracle.com <>
      Date:   Fri Jun 15 09:01:42 2012 -0500
      
          Bug #14169459 INNODB; DROP TABLE DOES NOT DELETE THE IBD FILE
          FOR A TEMPORARY TABLE.
      b74eb5a5
  7. 20 Dec, 2018 1 commit
  8. 19 Dec, 2018 3 commits
  9. 18 Dec, 2018 1 commit
  10. 17 Dec, 2018 1 commit
  11. 16 Dec, 2018 1 commit
  12. 13 Dec, 2018 6 commits
  13. 12 Dec, 2018 2 commits
    • Sergei Golubchik's avatar
      Merge branch '5.5' into 10.0 · b58f2872
      Sergei Golubchik authored
      b58f2872
    • Jiaye Wu's avatar
      Fix UNICODE issue of dlerror · 9eadef01
      Jiaye Wu authored
      Current implementation is conflicting. If UNICODE is defined, FormatMessage() will be FormatMessageW(), and variable win_errormsg with type char can not be passed to it, which should be changed to TCHAR instead. Since we don't use UNICODE here, we can use FormatMessageA() directly to avoid conversion error.
      ```
      my_global.h(1092): error C2664: 'DWORD FormatMessageW(D
      WORD,LPCVOID,DWORD,DWORD,LPWSTR,DWORD,va_list *)' : cannot convert argument 5 from 'char [2048]' to 'LPWSTR'
      ```
      9eadef01
  14. 11 Dec, 2018 1 commit
  15. 07 Dec, 2018 2 commits
  16. 06 Dec, 2018 3 commits
  17. 05 Dec, 2018 1 commit
  18. 29 Nov, 2018 1 commit
    • Eugene Kosov's avatar
      MDEV-16499 [10.1] ER_NO_SUCH_TABLE_IN_ENGINE followed by "Please drop the... · e8bb94cc
      Eugene Kosov authored
      MDEV-16499 [10.1] ER_NO_SUCH_TABLE_IN_ENGINE followed by "Please drop the table and recreate" upon adding FULLTEXT key to table with virtual column
      
      There was an incorrect check for MariaDB and InnoDB
      tables fields count. Corruption was reported when there was no corruption.
      Also, a warning message had incorrect field numbers for both MariaDB and InnoDB
      tables.
      
      ha_innobase::open(): fixed check and message
      e8bb94cc
  19. 28 Nov, 2018 1 commit
  20. 20 Nov, 2018 1 commit
  21. 16 Nov, 2018 1 commit
  22. 15 Nov, 2018 3 commits
  23. 14 Nov, 2018 1 commit