1. 01 Feb, 2009 2 commits
  2. 31 Jan, 2009 8 commits
  3. 30 Jan, 2009 5 commits
  4. 29 Jan, 2009 14 commits
  5. 28 Jan, 2009 11 commits
    • Sergey Petrunia's avatar
      Merge · 7820ae5e
      Sergey Petrunia authored
      7820ae5e
    • Sergey Petrunia's avatar
      BUG#37822: Correlated subquery with IN and IS UNKNOWN provides wrong result · cd4f6cc1
      Sergey Petrunia authored
      Item_in_optimizer::is_null() evaluated "NULL IN (SELECT ...)" to NULL regardless of
      whether subquery produced any records, this was a documented limitation.
      
      The limitation has been removed (see bugs 8804, 24085, 24127) now
      Item_in_optimizer::val_int() correctly handles all cases with NULLs. Make
      Item_in_optimizer::is_null() invoke val_int() to return correct values for
      "NULL IN (SELECT ...)".
      cd4f6cc1
    • Gleb Shchepa's avatar
      64c0951f
    • Gleb Shchepa's avatar
      Bug #39069: <row constructor> IN <table-subquery> seriously · b41c1a45
      Gleb Shchepa authored
                  messed up
      
      "ROW(...) IN (SELECT ... FROM DUAL)" always returned TRUE.
      
      Item_in_subselect::row_value_transformer rewrites "ROW(...)
      IN SELECT" conditions into the "EXISTS (SELECT ... HAVING ...)"
      form.
      For a subquery from the DUAL pseudotable resulting HAVING
      condition is an expression on constant values, so further
      transformation with optimize_cond() eliminates this HAVING
      condition and resets JOIN::having to NULL.
      Then JOIN::exec treated that NULL as an always-true-HAVING
      and that caused a bug.
      
      To distinguish an optimized out "HAVING TRUE" clause from
      "HAVING FALSE" we already have the JOIN::having_value flag.
      However, JOIN::exec() ignored JOIN::having_value as described
      above as if it always set to COND_TRUE.
      
      The JOIN::exec method has been modified to take into account
      the value of the JOIN::having_value field.
      b41c1a45
    • Davi Arnaut's avatar
      Merge from 5.0-bugteam · dd2d8eba
      Davi Arnaut authored
      dd2d8eba
    • Magnus Svensson's avatar
      Merge · faca74e1
      Magnus Svensson authored
      faca74e1
    • Magnus Svensson's avatar
      WL#4189 mtr.pl v2 · f3f31c9e
      Magnus Svensson authored
       - Fix faulty regex used for filtering out suspicious warnings, causing
         warnings/errors from previous tests to be reported
      f3f31c9e
    • Davi Arnaut's avatar
      Remove test case for bug 40264. · d94e00a0
      Davi Arnaut authored
      Dirty close tricky does not work on Windows.
      d94e00a0
    • Luis Soares's avatar
      Disabled test main.innodb_bug39438: · 4ce85ce5
      Luis Soares authored
      BUG#42383 2009-01-28 lsoares 
      "This fails in embedded and on windows. Note that this test is not run 
      on windows and on embedded in PB for main trees currently"
      4ce85ce5
    • Georgi Kodinov's avatar
      merged bug 42366 to 5.1-bugteam · 0ef24ca9
      Georgi Kodinov authored
      0ef24ca9
    • Alfranio Correia's avatar
      BUG#35583 mysqlbinlog replay fails with ERROR 1146 when temp tables are used · 4aee29e8
      Alfranio Correia authored
            
      When using CREATE TEMPORARY TABLE LIKE to create a temporary table, 
      or using TRUNCATE to delete all rows of a temporary table, they 
      did not set the tmp_table_used flag, and cause the omission of
      "SET @@session.pseudo_thread_id" when dumping binlog with mysqlbinlog,
      and cause error when replay the statements.
            
      This patch fixed the problem by setting tmp_table_used in these two
      cases. (Done by He Zhenxing 2009-01-12)
      4aee29e8