1. 29 Mar, 2017 4 commits
  2. 28 Mar, 2017 13 commits
  3. 27 Mar, 2017 5 commits
    • Igor Babaev's avatar
      Fixed bug mdev-12375. · 93dd70ce
      Igor Babaev authored
      The function st_select_lex_unit::exec_recursive() incorrectly determined
      that a CTE mutually recursive with some others was stabilized in the case
      when the non-recursive part of the CTE returned an empty set. As a result
      the server fell into an infinite loop when executing a query using
      this CTE.
      93dd70ce
    • Vladislav Vaintroub's avatar
    • Vladislav Vaintroub's avatar
      Fix connect engine crashes in buildbot tests on Win64. · d3f82e3a
      Vladislav Vaintroub authored
      Do not truncate pointers returned by _findfirst to int.
      d3f82e3a
    • Igor Babaev's avatar
      Fixed bug mdev-12368. · ad7da60d
      Igor Babaev authored
      Mutually recursive CTE could cause a crash of the server in the case
      when they were not Standard compliant. The crash happened in
      mysql_derived_prepare(), because the destructor the derived_result
      object created for a CTE that was mutually recursive with some others
      was called twice. Yet this destructor should not be called for resursive
      references.
      ad7da60d
    • Igor Babaev's avatar
      Fixed bug mdev-12360. · 5a4537f0
      Igor Babaev authored
      The method With_element::check_unrestricted_recursive() icorrectly performed
      the check that no recursive reference is not encountered in inner parts of
      outer joins. As a result the server reported errors for valid specifications
      with outer joins.
      5a4537f0
  4. 26 Mar, 2017 1 commit
  5. 24 Mar, 2017 7 commits
  6. 21 Mar, 2017 1 commit
  7. 20 Mar, 2017 2 commits
  8. 19 Mar, 2017 1 commit
  9. 18 Mar, 2017 2 commits
  10. 17 Mar, 2017 4 commits
    • Vladislav Vaintroub's avatar
      Fix crash (race condition) in DBUG in connect2 test case. · 6c5cfbbf
      Vladislav Vaintroub authored
      When "simulate_failed_connection_1"  DBUG keyword is set, current thread's
      DBUG stack points to global variable in dbug (init_settings).
      This global variable could be overriden while current THD is still active,
      producing crash in worst scenario.
      
      Added DBUG_SET()so that the current thread own dbug
      context that cannot concurrently modified by anyone else.
      6c5cfbbf
    • Jon Olav Hauglid's avatar
      Bug#21153166: REMOVE UNUSED VARIABLES AND CONVERT GLOBAL SYMBOLS TO STATIC · a77ac651
      Jon Olav Hauglid authored
      Follow-up to
      Bug#21141390: REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC
      but for variables instead of functions.
      
      Was identified with the -Wmissing-variable-declarations
      compiler warning option supported by Clang 3.6.
      Reviewed-by: default avatarMarko Mäkelä <marko.makela@oracle.com>
      
      RB: 9070
      a77ac651
    • Marko Mäkelä's avatar
      MDEV-12270 Port MySQL 8.0 Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC · 97acc4a1
      Marko Mäkelä authored
      InnoDB defines some functions that are not called at all.
      Other functions are called, but only from the same compilation unit.
      
      Remove some function declarations and definitions, and add 'static'
      keywords. Some symbols must be kept for separately compiled tools,
      such as innochecksum.
      97acc4a1
    • Marko Mäkelä's avatar
      MDEV-12271 Port MySQL 8.0 Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL · 4e1116b2
      Marko Mäkelä authored
      Also, remove empty .ic files that were not removed by my MySQL commit.
      
      Problem:
      InnoDB used to support a compilation mode that allowed to choose
      whether the function definitions in .ic files are to be inlined or not.
      This stopped making sense when InnoDB moved to C++ in MySQL 5.6
      (and ha_innodb.cc started to #include .ic files), and more so in
      MySQL 5.7 when inline methods and functions were introduced
      in .h files.
      
      Solution:
      Remove all references to UNIV_NONINL and UNIV_MUST_NOT_INLINE from
      all files, assuming that the symbols are never defined.
      Remove the files fut0fut.cc and ut0byte.cc which only mattered when
      UNIV_NONINL was defined.
      4e1116b2