1. 11 Apr, 2013 2 commits
  2. 06 Apr, 2013 3 commits
  3. 08 Apr, 2013 1 commit
    • unknown's avatar
      If a range tree has a branch that is an expensive constant, · 2c892440
      unknown authored
      currently get_mm_tree skipped the evaluation of this constant
      and icorrectly proceeded. The correct behavior is to return a
      NULL subtree, according to the IF branch being fixed - when it
      evaluates the constant it returns a value, and doesn't continue
      further.
      2c892440
  4. 04 Apr, 2013 2 commits
  5. 01 Apr, 2013 1 commit
  6. 29 Mar, 2013 1 commit
  7. 27 Mar, 2013 1 commit
  8. 26 Mar, 2013 4 commits
  9. 23 Mar, 2013 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-4318. · a0e80d5e
      Igor Babaev authored
      In some cases, when using views the optimizer incorrectly determined
      possible join orders for queries with nested outer and inner joins.
      This could lead to invalid execution plans for such queries.
      a0e80d5e
  10. 22 Mar, 2013 1 commit
  11. 21 Mar, 2013 2 commits
  12. 20 Mar, 2013 2 commits
  13. 19 Mar, 2013 2 commits
  14. 18 Mar, 2013 4 commits
    • unknown's avatar
      MDEV-4269 fix. · e5eba74a
      unknown authored
      Item_default_value inherited form Item_field so should create temporary table field similary.
      e5eba74a
    • Alexey Botchkov's avatar
      MDEV-4252 geometry query crashes server. · 9a618771
      Alexey Botchkov authored
          Additional fixes for possible overflows in length-related
          calculations in 'spatial' implementations.
          Checks added to the ::get_data_size() methods.
          max_n_points decreased to occupy less 2G size. An
          object of that size is practically inoperable anyway.
      9a618771
    • Sergei Golubchik's avatar
      MDEV-4289 Assertion `0' fails in make_sortkey with GROUP_CONCAT, MAKE_SET, GROUP BY · 374e83d8
      Sergei Golubchik authored
      Item_func_make_set wasn't taking into account the first argument when
      calculating maybe_null.
      
      sql/item_strfunc.cc:
        rewrite Item_func_make_set, removing separate storage of the first argument
      sql/item_strfunc.h:
        rewrite Item_func_make_set, removing separate storage of the first argument
      374e83d8
    • Sergei Golubchik's avatar
      MDEV-4283 Assertion `scale <= precision' fails in strings/decimal.c · cf33a9bb
      Sergei Golubchik authored
        
      with decimals=NOT_FIXED_DEC it is possible to have 'decimals' larger
      than 'max_length', it's not an error for temporal functions.
        
      But when Item_func_numhybrid converts the value to DECIMAL_RESULT,
      it must limit 'decimals' to be a valid scale of a decimal number.
      cf33a9bb
  15. 17 Mar, 2013 2 commits
  16. 10 Mar, 2013 1 commit
    • Alexey Botchkov's avatar
      MDEV-4252 geometry query crashes server. · 975f63f7
      Alexey Botchkov authored
            The bug was found by Alyssa Milburn.
            If the number of points of a geometry feature read from
            binary representation is greater than 0x10000000, then
            the (uint32) (num_points * 16) will cut the higher byte,
            which leads to various errors.
            Fixed by additional check if (num_points > max_n_points).
      975f63f7
  17. 08 Mar, 2013 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-4250. · b95d0a78
      Igor Babaev authored
      This is a bug in the legacy code. It did not manifest itself because
      it was masked by other bugs that were fixed by the patches for
      mdev-4172 and mdev-4177.
      b95d0a78
  18. 06 Mar, 2013 2 commits
  19. 01 Mar, 2013 2 commits
  20. 28 Feb, 2013 5 commits
    • Igor Babaev's avatar
      Fixed bug mdev-4209 · 72e04905
      Igor Babaev authored
      Do not include BLOB fields into the key to access the temporary
      table created for a materialized view/derived table.
      BLOB components are not allowed in keys. 
      72e04905
    • Sergei Golubchik's avatar
      5.2 -> 5.3 · a3e984a0
      Sergei Golubchik authored
      a3e984a0
    • Sergei Golubchik's avatar
      5.1 -> 5.2 merge · 6b31e631
      Sergei Golubchik authored
      6b31e631
    • Igor Babaev's avatar
      Fixed a compile error for some platform. · af89e3d6
      Igor Babaev authored
      af89e3d6
    • Sergei Golubchik's avatar
      a simpler fix for · 3251e454
      Sergei Golubchik authored
      MySQL Bug #12408412: GROUP_CONCAT + ORDER BY + INPUT/OUTPUT SAME USER VARIABLE = CRASH
      and
      MySQL Bug#14664077 SEVERE PERFORMANCE DEGRADATION IN SOME CASES WHEN USER VARIABLES ARE USED
      
      
      sql/item_func.cc:
        don't use anything from Item_func_set_user_var::fix_fields()
        in Item_func_set_user_var::save_item_result()
      sql/sql_class.cc:
        Call suv->save_item_result(item) *before* doing suv->fix_fields(), because
        the former evaluates the item (and caches its value), while the latter marks
        the user variable as non-const. The problem is that the item was fix_field'ed
        when the user variable was const, and it doesn't expect it to change to non-const
        in the middle of the execution.
      3251e454