1. 05 Dec, 2013 2 commits
    • Igor Babaev's avatar
      Merge · 21d0d8c5
      Igor Babaev authored
      21d0d8c5
    • Igor Babaev's avatar
      Fixed bug mdev-5382 · ccf5871d
      Igor Babaev authored
      When marking used columns the function find_field_in_table_ref() erroneously
      called the walk method for the real item behind a view/derived table field
      with the second parameter set to TRUE.
      This erroneous code was introduced in 2006. 
      ccf5871d
  2. 04 Dec, 2013 1 commit
  3. 03 Dec, 2013 1 commit
  4. 02 Dec, 2013 2 commits
  5. 01 Dec, 2013 1 commit
  6. 29 Nov, 2013 1 commit
  7. 27 Nov, 2013 1 commit
  8. 25 Nov, 2013 1 commit
  9. 22 Nov, 2013 2 commits
  10. 21 Nov, 2013 2 commits
  11. 14 Nov, 2013 4 commits
  12. 13 Nov, 2013 7 commits
  13. 12 Nov, 2013 1 commit
    • Sergei Golubchik's avatar
      MDEV-5113 Wrong result (extra row) and valgrind warnings in... · 441192bf
      Sergei Golubchik authored
      MDEV-5113 Wrong result (extra row) and valgrind warnings in Item_maxmin_subselect::any_value on 2nd execution of PS with SELECT subquery
      
      When setting Item_func_not_all::test_sum_item or Item_func_not_all::test_sub_item,
      reset the other one to NULL - they can never be set both. When a PS is reexecuted,
      different executions might be optimized differently and a wrong test_su*_item
      might stay set from the previous execution.
      441192bf
  14. 11 Nov, 2013 2 commits
    • unknown's avatar
      MDEV-5153: Server crashes in Item_ref::fix_fields on 2nd execution of PS with... · c98a054f
      unknown authored
      MDEV-5153: Server crashes in Item_ref::fix_fields on 2nd execution of PS with LEFT JOIN and MERGE view or SELECT SQ
      
      1. Transformation of row IN subquery made the same as single value.
      2. replace_where_subcondition() made working on several layers of OR/AND because it called on expression before fix_fields().
      c98a054f
    • unknown's avatar
      MDEV-5103: server crashed on singular Item_equal · c85db2c4
      unknown authored
      Singular Item_equal support added.
      
      The problem was that during constant table substitution Item_equal become containing only one constant which was not supported internally.
      c85db2c4
  15. 08 Nov, 2013 4 commits
  16. 29 Oct, 2013 2 commits
    • unknown's avatar
      MariaDB made be compiled by gcc 4.8.1 · 5ce11d8b
      unknown authored
        
        There was 2 problems:
        1) coping/moving of the same type (usually casting) as sizeof() (solved in different ways depends on the cause);
        2) using 'const' in SSL_CTX::getVerifyCallback() which return object (not reference) and so copy of the object will be created and 'const' has no sens.
      5ce11d8b
    • timour@askmonty.org's avatar
      MDEV-5104 crash in Item_field::used_tables with broken order by · 883af99e
      timour@askmonty.org authored
      Analysis:
      st_select_lex_unit::prepare() computes can_skip_order_by as TRUE.
      As a result join->prepare() gets called with order == NULL, and
      doesn't do name resolution for the inner ORDER clause. Due to this
      the prepare phase doesn't detect that the query references non-exiting
      function and field.
        
      Later join->optimize() calls update_used_tables() for a non-resolved
      Item_field, which understandably has no Field object. This call results
      in a crash.
      
      Solution:
      Resolve unnecessary ORDER BY clauses to detect if they reference non-exising
      objects. Then remove such clauses from the JOIN object.
      883af99e
  17. 21 Oct, 2013 4 commits
  18. 16 Oct, 2013 2 commits