An error occurred fetching the project authors.
  1. 20 Dec, 2016 2 commits
    • Igor Babaev's avatar
      Fixed bug mdev-11608. · 9b27d3e8
      Igor Babaev authored
      The fix for bug mdev-11488 introduced the virtual method
      convert_to_basic_const_item for the class Item_cache.
      The implementation of this method for the class Item_cache_str
      was not quite correct: the server could crash if the cached item
      was null.
      A similar problem could appear for the implementation of
      this method for the class Item_cache_decimal. Although I could not
      reproduce the problem I decided to change the code appropriately.
      9b27d3e8
    • Igor Babaev's avatar
      Fixed bug mdev-11593. · 5c69879f
      Igor Babaev authored
      When a condition containing NULLIF is pushed into a materialized
      view/derived table the clone of the Item_func_nullif item must
      be processed in a special way to guarantee that the first argument
      points to the same item as the third argument.
      5c69879f
  2. 14 Dec, 2016 2 commits
    • Igor Babaev's avatar
      Adjusted test results after merge. · 5cf6fd3e
      Igor Babaev authored
      5cf6fd3e
    • Igor Babaev's avatar
      Fixed bug mdev-11488. · 441fa005
      Igor Babaev authored
      The patch for bug mdev-10882 tried to fix it by providing an
      implementation of the virtual method build_clone for the class
      Item_cache. It's turned out that it is not easy provide a valid
      implementation for Item_cache::build_clone(). At the same time
      if the condition that can be pushed into a materialized view
      contains a cached item this item can be substituted for a basic
      constant of the same value. In such a way we can avoid building
      proper clones for Item_cache objects when constructing pushdown
      conditions.
      441fa005
  3. 12 Dec, 2016 1 commit
  4. 30 Nov, 2016 1 commit
  5. 29 Nov, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-10882. · b2c63d2f
      Igor Babaev authored
      The implementation of the virtual method build_clone for
      the class Item_cache was missing.
      b2c63d2f
  6. 27 Nov, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-11313. · 1d0f1741
      Igor Babaev authored
      The fix for bug 11072 was not complete though it also fixed
      the bug mdev-10800.
      This patch resolves the problems of all three bugs.
      1d0f1741
  7. 23 Nov, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-11315. · f4d6f26a
      Igor Babaev authored
      There were no implementations for the virtual functions
      exclusive_dependence_on_table_processor and
      exclusive_dependence_on_table_processor. As a result
      the procedure pushdown_cond_for_derived erroneously
      detected some conditions with outer references as pushable
      into materialized view / derived table.
      f4d6f26a
  8. 17 Nov, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-11103. · 691214ae
      Igor Babaev authored
      The class Item_func_nop_all missed an implementation
      of the virtual method get_copy.
      As a result if the condition that can be pushed into
      into a materialized view / derived table contained
      an ANY subselect then the pushdown condition was built
      incorrectly.
      691214ae
  9. 16 Nov, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-11102. · 1655160d
      Igor Babaev authored
      Do not push conditions from where into materialized inner tables
      of outer joins: this is not valid.
      1655160d
  10. 15 Nov, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-11072. · 68e7d92c
      Igor Babaev authored
      In a general case the conditions with outer fields cannot
      be pushed into materialized views / derived tables.
      However if the outer field in the condition refers to a
      single row table then the condition may be pushable.
      In this case a special care should be taken for outer
      fields when pushing the condition into a materialized view /
      derived table.
      68e7d92c
  11. 26 Sep, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-10884. · 1f1990a1
      Igor Babaev authored
      If a materialized derived table / view is specified by a unit
      with SELECTs containing ORDER BY ... LIMIT then condition pushdown
      cannot be done for these SELECTs.
      If a materialized derived table / view is specified by a unit
      containing global ORDER BY ... LIMIT then condition pushdown
      cannot be done for this unit.
      1f1990a1
  12. 14 Sep, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-10785. · c22d307a
      Igor Babaev authored
      The condition pushed into WHERE/HAVING of a materialized
      view/derived table may differ for different executions of
      the same prepared statement. That's why the should be
      ANDed with the existing WHERE/HAVING conditions only after all
      permanent transformations of these conditions has been
      performed.
      c22d307a
  13. 13 Sep, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-10783. · 08ba4741
      Igor Babaev authored
      Do not push conditions into materialized views/derived tables
      marked with the flag 'fill_me'.
      08ba4741
  14. 12 Sep, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-10782. · 3630a00e
      Igor Babaev authored
      This bug in the code of Item_ref::build_clone could
      cause corruption of items in where conditions.
      Also made sure that equality predicates extracted
      from multiple equality items to be pushed into
      materialized views were cloned.
      3630a00e
  15. 05 Sep, 2016 1 commit
    • Igor Babaev's avatar
      Fixed a flaw in the implementation of condition push-down · 3b40f78e
      Igor Babaev authored
      for materialized views and derived tables: there were no
      push-down if the view was defined as union of selects
      without aggregation. Added test cases with such unions.
      
      Adjusted result files after the merge of the code for mdev-9197.
      3b40f78e
  16. 22 Aug, 2016 1 commit