1. 27 Oct, 2008 3 commits
    • Evgeny Potemkin's avatar
      Merged fix for the bug#37870. · 314048bd
      Evgeny Potemkin authored
      314048bd
    • Evgeny Potemkin's avatar
      Bug#37870: Usage of uninitialized value caused failed assertion. · 170215e6
      Evgeny Potemkin authored
            
      The convert_constant_item function converts a constant to integer using
      field for condition like 'field = a_constant'. When the convert_constant_item
      is called for a subquery the outer select is already being executed, so
      convert_constant_item saves field's value to prevent its corruption.
      For EXPLAIN field's value isn't initialized thus when convert_constant_item
      tries to restore saved value it fails assertion.
            
      Now the convert_constant_item doesn't save/restore field's value
      for EXPLAIN.
      170215e6
    • V Narayanan's avatar
      Bug#39571 abi_check Does not create all prerequisites · 10b525d0
      V Narayanan authored
      The abi_check target instroduced as part of WL#4380 verifies
      changes to mysql.h. mysql.h in turn includes mysql_version.h.
      mysql_version.h is a file that is generated during the configure
      phase. We must ensure that mysql_version.h is cleaned only during
      distclean and not during clean.
      10b525d0
  2. 26 Oct, 2008 1 commit
  3. 24 Oct, 2008 5 commits
  4. 23 Oct, 2008 8 commits
  5. 22 Oct, 2008 2 commits
  6. 21 Oct, 2008 11 commits
  7. 20 Oct, 2008 5 commits
  8. 17 Oct, 2008 2 commits
  9. 16 Oct, 2008 3 commits
    • Serge Kozlov's avatar
    • Gleb Shchepa's avatar
      56aa88b3
    • Gleb Shchepa's avatar
      Bug #39844: Query Crash Mysql Server 5.0.67 · c411a11e
      Gleb Shchepa authored
      Server crashed during a sort order optimization
      of a dependent subquery:
      
      SELECT
          (SELECT t1.a FROM t1, t2
            WHERE t1.a = t2.b AND t2.a = t3.c
            ORDER BY t1.a)
        FROM t3;
      
      
      Bitmap of tables, that the reference to outer table
      column uses, in addition to the regular table bit
      has the OUTER_REF_TABLE_BIT bit set.
      The only_eq_ref_tables function traverses this map
      bit by bit simultaneously with join->map2table list.
      Obviously join->map2table never contains an entry
      for the OUTER_REF_TABLE_BIT pseudo-table, so the
      server crashed there.
      
      
      The only_eq_ref_tables function has been modified
      to traverse regular table bits only like the
      update_depend_map function (resetting of the
      OUTER_REF_TABLE_BIT there is enough, but
      resetting of the whole set of PSEUDO_TABLE_BITS
      is used there for sure).
      c411a11e