1. 04 Jan, 2018 3 commits
    • Daniel Bartholomew's avatar
      bump the VERSION · 0f253d3e
      Daniel Bartholomew authored
      0f253d3e
    • Monty's avatar
      Fixed wrong arguments to printf and related functions · 5e0b13d1
      Monty authored
      Other things, mainly to get
      create_mysqld_error_find_printf_error tool to work:
      
      - Added protection to not include mysqld_error.h twice
      - Include "unireg.h" instead of "mysqld_error.h" in server
      - Added protection if ER_XX messages are already defined
      - Removed wrong calls to my_error(ER_OUTOFMEMORY) as
        my_malloc() and my_alloc will do this automatically
      - Added missing %s to ER_DUP_QUERY_NAME
      - Removed old and wrong calls to my_strerror() when using
        MY_ERROR_ON_RENAME (wrong merge)
      - Fixed deadlock error message from Galera. Before the extra
        information given to ER_LOCK_DEADLOCK was missing because
        ER_LOCK_DEADLOCK doesn't provide any extra information.
      
      I kept #ifdef mysqld_error_find_printf_error_used in sql_acl.h
      to make it easy to do this kind of check again in the future
      5e0b13d1
    • Sergei Petrunia's avatar
      Fix out-of-date comments. · c584a496
      Sergei Petrunia authored
      c584a496
  2. 03 Jan, 2018 7 commits
  3. 02 Jan, 2018 8 commits
  4. 01 Jan, 2018 5 commits
  5. 31 Dec, 2017 1 commit
  6. 30 Dec, 2017 1 commit
  7. 29 Dec, 2017 3 commits
  8. 28 Dec, 2017 7 commits
  9. 27 Dec, 2017 5 commits
    • Sergei Golubchik's avatar
      MDEV-14309 MTR tests require perl-Env which is not always in the default installation · 1300627a
      Sergei Golubchik authored
      * don't use Env module in tests, use $ENV{xxx} instead
      * collateral changes:
      ** $file in the error message was unset
      ** $file in the other error message was unset too :)
      ** source file arguments are conventionally upper-cased
      ** abort the test (die) on error, don't just echo/exit
      1300627a
    • Igor Babaev's avatar
      Fixed the bug MDEV-14755 Crash when executing prepared statement · bbb8c9d7
      Igor Babaev authored
      for a query that uses CTE
      
      The first reference to a CTE in the processed query uses the unit
      built by the parser for the CTE specification. This unit is
      considered as the specification of the derived table created for
      the first reference of the CTE. This requires some transformation of
      the original query tree: the unit of the specification must be moved
      to a new position as a slave of the select where the first reference
      to the CTE occurs. The transformation is performed by the function
      st_select_lex_node::move_as_slave(). There was an obvious bug in this
      function. As a result of this bug in many cases the moved unit turned
      out to be lost in the query tree. This could cause different problems.
      In particular the prepared statements for queries that used CTEs could
      miss cleanup for some selects that was performed at the end of the
      preparation/execution of the PSs. If such cleanup is not done for a PS
      the next execution of the PS causes an assertion abort or a crash.
      bbb8c9d7
    • Vicențiu Ciorbaru's avatar
      d1c2cd30
    • Oleksandr Byelkin's avatar
      MDEV-10657: incorrect result returned with binary protocol (prepared statements) · 462808f3
      Oleksandr Byelkin authored
      If translation table present when we materialize the derived table then
      change it to point to the materialized table.
      
      Added debug info to see really what happens with what derived.
      462808f3
    • Alexander Barkov's avatar
      MDEV-14249 Wrong character set info of Query_log_event and the query in... · 02b7dc7b
      Alexander Barkov authored
      MDEV-14249 Wrong character set info of Query_log_event and the query in Query_log_event constructed by different charsets cause error when slave apply the event.
      02b7dc7b