1. 31 Oct, 2011 1 commit
  2. 29 Oct, 2011 1 commit
  3. 28 Oct, 2011 3 commits
  4. 26 Oct, 2011 3 commits
  5. 24 Oct, 2011 2 commits
  6. 22 Oct, 2011 1 commit
  7. 21 Oct, 2011 2 commits
  8. 19 Oct, 2011 12 commits
  9. 22 Aug, 2011 1 commit
  10. 20 Aug, 2011 1 commit
    • Igor Babaev's avatar
      Fixed LP bug #826279. · 9f45b1e2
      Igor Babaev authored
      When the WHERE/HAVING condition of a subquery has been transformed
      by the optimizer the pointer stored the 'where'/'having' field 
      of the SELECT_LEX structure used for the subquery must be updated
      accordingly. Otherwise the pointer may refer to an invalid item.
      This can lead to the reported assertion failure for some queries
      with correlated subqueries   
      9f45b1e2
  11. 17 Aug, 2011 5 commits
    • unknown's avatar
      Fix bug lp:813473 · 4dfa8e5d
      unknown authored
      The bug is a duplicate of MySQL's Bug#11764086,
      however MySQL's fix is incomplete for MariaDB, so
      this fix is slightly different.
      
      In addition, this patch renames
      Item_func_not_all::top_level() to is_top_level_item()
      to make it in line with the analogous methods of
      Item_in_optimizer, and Item_subselect.
      
      Analysis:
      It is possible to determine whether a predicate is
      NULL-rejecting only if it is a top-level one. However,
      this was not taken into account for Item_in_optimizer.
      As a result, a NOT IN predicate was erroneously
      considered as NULL-rejecting, and the NULL-complemented
      rows generated by the outer join were rejected before
      being checked by the NOT IN predicate.
      
      Solution:
      Change Item_in_optimizer to be considered as
      NULL-rejecting only if it a top-level predicate.
      4dfa8e5d
    • Sergey Petrunya's avatar
      field_conv.cc: added comments · bea76f34
      Sergey Petrunya authored
      opt_range.cc: modified print_key() so that it doesn't do memory re-allocs when
      printing multipart keys over varchar columns. When it did, key printout in 
      debug trace was interrupted with my_malloc/free printouts.
      bea76f34
    • Sergey Petrunya's avatar
      Merge · 8fa34159
      Sergey Petrunya authored
      8fa34159
    • Sergey Petrunya's avatar
      BUG#826935 Assertion `!table || (!table->read_set ||... · b4b6090d
      Sergey Petrunya authored
      BUG#826935 Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed
      - add_ref_to_table_cond() should not just overwrite pre_idx_push_select_cond
        with the contents tab->select_cond.
        pre_idx_push_select_cond exists precisely for the reason that it may contain
        a condition that is a strict superset of what is in tab->select_cond. 
        The fix is to inject generated equality into pre_idx_push_select_cond.
      b4b6090d
    • Igor Babaev's avatar
      Fixed LP bug #825035. · 78f5e714
      Igor Babaev authored
      The value of maybe_null flag should be saved for the second execution
      of a prepared statement from SELECT that uses an outer join.
      78f5e714
  12. 16 Aug, 2011 8 commits