1. 19 May, 2006 4 commits
  2. 18 May, 2006 6 commits
  3. 17 May, 2006 5 commits
    • evgen@moonbone.local's avatar
      Fixed bug#19077: A nested materialized derived table is used before being populated. · 1d820585
      evgen@moonbone.local authored
      The convert_constant_item() function converts constant items to ints on
      prepare phase to optimize execution speed. In this case it tries to evaluate
      subselect which contains a derived table and is contained in a derived table. 
      All derived tables are filled only after all derived tables are prepared.
      So evaluation of subselect with derived table at the prepare phase will
      return a wrong result.
      
      A new flag with_subselect is added to the Item class. It indicates that
      expression which this item represents is a subselect or contains a subselect.
      It is set to 0 by default. It is set to 1 in the Item_subselect constructor
      for subselects.
      For Item_func and Item_cond derived classes it is set after fixing any argument
      in Item_func::fix_fields() and Item_cond::fix_fields accordingly.
      The convert_constant_item() function now doesn't convert a constant item
      if the with_subselect flag set in it. 
      1d820585
    • joerg@mysql.com's avatar
    • joerg@mysql.com's avatar
      Include "config.h" (if it exists) in all yaSSL files via their "runtime.hpp". · 93d1c2b3
      joerg@mysql.com authored
      Fixes bug#19040 "yaSSL does not compile on AIX".
      93d1c2b3
    • msvensson@neptunus.(none)'s avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 63da6af2
      msvensson@neptunus.(none) authored
      into  neptunus.(none):/home/msvensson/mysql/bug18818/my50-bug18818
      63da6af2
    • igor@rurik.mysql.com's avatar
      Fixed bug #19573. · 767d25da
      igor@rurik.mysql.com authored
      The select statement that specified a view could be
      slightly changed when the view was saved in a frm file.
      In particular references to an alias name in the HAVING
      clause could be substituted for the expression named by
      this alias.
      This could result in an error message for a query of
      the form SELECT * FROM <view>. Yet no such message
      appeared when executing the query specifying the view.
      767d25da
  4. 16 May, 2006 20 commits
  5. 15 May, 2006 5 commits