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 4 commits
  6. 21 Mar, 2017 1 commit
  7. 20 Mar, 2017 2 commits
  8. 18 Mar, 2017 1 commit
  9. 17 Mar, 2017 6 commits
  10. 16 Mar, 2017 3 commits
    • Marko Mäkelä's avatar
      MDEV-12269 Port Bug#22996442 INNODB: MAKE UNIV_DEBUG DEPEND ON DBUG_OFF · 7668a79a
      Marko Mäkelä authored
      This is a partial port of my patch in MySQL 8.0.
      In MySQL 8.0, all InnoDB references to DBUG_OFF were replaced
      with UNIV_DEBUG. We will not do that in MariaDB.
      
      InnoDB used two independent compile-time flags that distinguish
      debug and non-debug builds, which is confusing.
      
      Also, make ut_ad() and alias of DBUG_ASSERT().
      7668a79a
    • Marko Mäkelä's avatar
      MDEV-12273 Remove dict_table_t::does_not_fit_in_memory · 105f46ff
      Marko Mäkelä authored
      In the InnoDB internal SQL parser, there is the keyword
      DOES_NOT_FIT_IN_MEMORY that is never specified in any CREATE TABLE
      statement that is passed to the InnoDB SQL parser
      (que_eval_sql() or pars_sql() or yyparse()). If this keyword were
      ever present, it would set the flag dict_table_t::does_not_fit_in_memory
      which is only present in debug builds.
      
      Let us remove all traces of this.
      
      Also, fix storage/innobase/pars/make_flex.sh so that no the generated
      file storage/innobase/pars/lexyy.cc works as is.
      
      FIXME: Always generate the InnoDB Bison files at build time, similar
      to how sql/sql_yacc.yy is handled. (This would still leave the
      generated scanner files, unless we want to add a build-time dependency
      for Flex.)
      105f46ff
    • Varun Gupta's avatar
      Test result for MDEV-10766 fixed · aad15eae
      Varun Gupta authored
      aad15eae