1. 11 Jul, 2006 1 commit
    • evgen@moonbone.local's avatar
      Fixed bug#18503: Queries with a quantified subquery returning empty set · 8ffda481
      evgen@moonbone.local authored
      may return a wrong result.
      
      An Item_sum_hybrid object has the was_values flag which indicates whether any
      values were added to the sum function. By default it is set to true and reset
      to false on any no_rows_in_result() call. This method is called only in
      return_zero_rows() function. An ALL/ANY subquery can be optimized by MIN/MAX
      optimization. The was_values flag is used to indicate whether the subquery
      has returned at least one row. This bug occurs because return_zero_rows() is
      called only when we know that the select will return zero rows before
      starting any scans but often such information is not known.
      In the reported case the return_zero_rows() function is not called and
      the was_values flag is not reset to false and yet the subquery return no rows
      Item_func_not_all and Item_func_nop_all functions return a wrong
      comparison result.
      
      The end_send_group() function now calls no_rows_in_result() for each item
      in the fields_list if there is no rows were found for the (sub)query.
      8ffda481
  2. 23 Jun, 2006 1 commit
    • bar@mysql.com's avatar
      Bug#11228: DESC shows arbitrary column as "PRI" · cfb08851
      bar@mysql.com authored
        An UNIQUE KEY consisting of NOT NULL columns
        was displayed as PRIMARY KEY in "DESC t1".
        According to the code, that was intentional
        behaviour for some reasons unknown to me.
        This code was written before bitkeeper time,
        so I cannot check who and why made this.
        After discussing on dev-public, a decision
        was made to remove this code
      cfb08851
  3. 22 Jun, 2006 1 commit
    • kent@mysql.com's avatar
      mysql.spec.sh: · ef2860e8
      kent@mysql.com authored
        Disable the simplistic auto dependency scan for test/bench (bug#20078)
      ef2860e8
  4. 21 Jun, 2006 6 commits
  5. 20 Jun, 2006 5 commits
  6. 19 Jun, 2006 9 commits
  7. 18 Jun, 2006 1 commit
  8. 17 Jun, 2006 3 commits
  9. 16 Jun, 2006 3 commits
  10. 15 Jun, 2006 5 commits
  11. 14 Jun, 2006 5 commits