An error occurred fetching the project authors.
  1. 06 Apr, 2017 1 commit
    • Igor Babaev's avatar
      Fixed the bug mdev-12440. · 428a922c
      Igor Babaev authored
      When a CTE referring to another CTE from the same with clause
      was used twice then the server could not find the second CTE and
      reported a bogus error message.
      This happened because for any unit that was created as a clone of
      a CTE specification the pointer to the WITH clause that owned this CTE
      was not set.
      428a922c
  2. 27 Mar, 2017 1 commit
    • 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
  3. 08 Mar, 2017 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-12185. · 2d948ebd
      Igor Babaev authored
      The bug was caused by a wrong order of statements in With_clause::print().
      As a result any view definition containing WITH clause with several
      CTE specifications was put the frm file in a syntactically incorrect
      form.
      2d948ebd
  4. 10 Feb, 2017 1 commit
  5. 19 Jan, 2017 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-11818. · 833aa97c
      Igor Babaev authored
      When a query containing a WITH clause is printed by EXPLAIN
      EXTENDED command there should not be any data expansion in
      the query specifications of the WITH elements of this WITH
      clause.
      833aa97c
  6. 13 Nov, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-11278. · 92bcb906
      Igor Babaev authored
      If a recursive CTE referred to a materialized view/derived table then
      the query that used this CTE returned a bogus error message.
      92bcb906
  7. 01 Oct, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-10923. · 061d2820
      Igor Babaev authored
      The code for st_select_lex::find_table_def_in_with_clauses()
      did not take into account the fact that the specs for mergeable
      CTEs were cloned and were not processed by the function
      With_element::check_dependencies_in_spec().
      061d2820
  8. 26 Sep, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-10889 · b91bd822
      Igor Babaev authored
      The bug was in the code of the recursive method
      With_element::check_unrestricted_recursive. For recursive
      calls of this method sel->get_with_element()->owner != owner.
      b91bd822
  9. 06 Sep, 2016 1 commit
  10. 30 Aug, 2016 1 commit
    • Igor Babaev's avatar
      mdev-9864: cleanup, re-factoring. · 9ac235ab
      Igor Babaev authored
      Added comments.
      Added reaction for exceeding maximum number of elements in with clause.
      Added a test case to check this reaction.
      Added a test case where the specification of a recursive table
      uses two non-recursive with tables.
      9ac235ab
  11. 26 Aug, 2016 1 commit
  12. 27 Jul, 2016 1 commit
    • Igor Babaev's avatar
      Fixed the following problem: · f982d107
      Igor Babaev authored
      Temporary tables created for recursive CTE
      were instantiated at the prepare phase. As
      a result these temporary tables missed
      indexes for look-ups and optimizer could not
      use them.
      f982d107
  13. 30 Jun, 2016 1 commit
  14. 26 Jun, 2016 1 commit
  15. 24 May, 2016 1 commit
  16. 19 May, 2016 1 commit
  17. 14 May, 2016 1 commit
  18. 12 May, 2016 1 commit
  19. 09 May, 2016 1 commit
  20. 08 May, 2016 1 commit
  21. 20 Apr, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-9937. · 3b6a64c2
      Igor Babaev authored
      When the specification of a WITH table referred to a view
      that used a based table with the same name as the WITH table
      the server went into an infinite loop because it erroneously
      resolved the reference to the base table as the reference to
      the WITH table.
      
      With tables used in a view cannot be searched for beyond the
      scope the view.
      3b6a64c2
  22. 19 Apr, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-9931. · 308cee54
      Igor Babaev authored
      When the specification of a WITH table referred to a view
      that used a based table with the same name as the WITH table
      the server went into an infinite loop because it erroneously
      resolved the reference to the base table as the reference to
      the WITH table.
      
      With tables used in a view cannot be searched for beyond the
      scope the view.
      308cee54
  23. 17 Feb, 2016 1 commit
  24. 21 Dec, 2015 1 commit
  25. 18 Dec, 2015 1 commit