1. 27 Oct, 2008 1 commit
    • V Narayanan's avatar
      Bug#39571 abi_check Does not create all prerequisites · 5682736a
      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.
      
      include/Makefile.am:
        This file contains the following changes
        
        1) Moves the cleaning of mysql_version.h from the clean
           phase to the distclean phase.
        
        2) Removes mysql_version.h.in from noinst_HEADERS, this
           entry was reduntant since by virtue of inclusion of
           mysql_version.h mysql_version.h.in is already included.
      5682736a
  2. 26 Oct, 2008 1 commit
  3. 24 Oct, 2008 5 commits
    • Davi Arnaut's avatar
      dfa63201
    • Davi Arnaut's avatar
      Merge from mysql-5.0-bugteam into mysql-5.1-bugteam · e55c12c5
      Davi Arnaut authored
      mysql-test/r/partition_not_windows.result:
        Update warning number due to new errors appearing earlier
        in the list.
      mysql-test/r/partition_symlink.result:
        Update warning number due to new errors appearing earlier
        in the list.
      mysql-test/r/symlink.result:
        Update warning number due to new errors appearing earlier
        in the list.
      e55c12c5
    • Ramil Kalimullin's avatar
      Fix for bug#23113: Different behavior on altering ENUM fields between 5.0 and 5.1 · abe09fb5
      Ramil Kalimullin authored
      Problem: mysqld doesn't detect that enum data must be reinserted performing
      'ALTER TABLE' in some cases.
      
      Fix: reinsert data altering an enum field if enum values are changed.
      
      
      mysql-test/r/alter_table.result:
        Fix for bug#23113: Different behavior on altering ENUM fields between 5.0 and 5.1
          - test result.
      mysql-test/t/alter_table.test:
        Fix for bug#23113: Different behavior on altering ENUM fields between 5.0 and 5.1
          - test case.
      sql/field.cc:
        Fix for bug#23113: Different behavior on altering ENUM fields between 5.0 and 5.1
          - Field_enum::is_equal() introduced, which is called to detect that a field
        is changing by 'ALTER TABLE'.
      sql/field.h:
        Fix for bug#23113: Different behavior on altering ENUM fields between 5.0 and 5.1
          - Field_enum::is_equal() introduced, which is called to detect that a field
        is changing by 'ALTER TABLE'.
      abe09fb5
    • Sergey Petrunia's avatar
      Merge · b1192b29
      Sergey Petrunia authored
      b1192b29
    • Sergey Petrunia's avatar
      BUG#38072: Wrong result: HAVING not observed in a query with aggregate · b4f39b23
      Sergey Petrunia authored
      - Make send_row_on_empty_set() return FALSE when simplify_cond() has found out
        that HAVING is always FALSE
      re-committing to put the fix into 5.0 and 5.1
      
      mysql-test/r/group_by.result:
        BUG#38072: Wrong result: HAVING not observed in a query with aggregate
        - Testcase
      mysql-test/t/group_by.test:
        BUG#38072: Wrong result: HAVING not observed in a query with aggregate
        - Testcase
      sql/sql_select.h:
        BUG#38072: Wrong result: HAVING not observed in a query with aggregate
        - Make send_row_on_empty_set() return FALSE when simplify_cond() has found out
          that HAVING is always FALSE
      b4f39b23
  4. 23 Oct, 2008 8 commits
  5. 22 Oct, 2008 2 commits
  6. 21 Oct, 2008 11 commits
    • Davi Arnaut's avatar
      Merge post-merge fix from mysql-5.0-bugteam. · cbd5cc23
      Davi Arnaut authored
      cbd5cc23
    • Davi Arnaut's avatar
      Post-merge fix: drop table at the end of test. · e88c3241
      Davi Arnaut authored
      mysql-test/r/xa.result:
        Update test case result.
      mysql-test/t/xa.test:
        Drop table used for test.
      e88c3241
    • Davi Arnaut's avatar
      Merge Bug#28323 to mysql-5.1.29-rc · 2fa5f730
      Davi Arnaut authored
      2fa5f730
    • Davi Arnaut's avatar
      Bug#28323: Server crashed in xid cache operations · 2503f00d
      Davi Arnaut authored
      The problem was that the server did not robustly handle a
      unilateral roll back issued by the Resource Manager (RM)
      due to a resource deadlock within the transaction branch.
      By not acknowledging the roll back, the server (TM) would
      eventually corrupt the XA transaction state and crash.
      
      The solution is to mark the transaction as rollback-only
      if the RM indicates that it rolled back its branch of the
      transaction.
      
      mysql-test/r/xa.result:
        Add test case result for Bug#28323
      mysql-test/t/xa.test:
        Add test case for Bug#28323
      sql/handler.cc:
        Reset XID only at the end of the global transaction.
      sql/share/errmsg.txt:
        Add new error codes.
      sql/sql_class.h:
        Remember the error reported by the Resource Manager.
      sql/sql_parse.cc:
        Rollback the transaction if the Resource Manager reported
        a error and rolled back its branch of the transaction.
      2503f00d
    • Davi Arnaut's avatar
      Bug#28323: Server crashed in xid cache operations · cc0b0a3c
      Davi Arnaut authored
      The problem was that the server did not robustly handle a
      unilateral roll back issued by the Resource Manager (RM)
      due to a resource deadlock within the transaction branch.
      By not acknowledging the roll back, the server (TM) would
      eventually corrupt the XA transaction state and crash.
      
      The solution is to mark the transaction as rollback-only
      if the RM indicates that it rolled back its branch of the
      transaction.
      
      mysql-test/r/xa.result:
        Add test case result for Bug#28323
      mysql-test/t/xa.test:
        Add test case for Bug#28323
      sql/handler.cc:
        Reset XID only at the end of the global transaction.
      sql/share/errmsg.txt:
        Add new error codes.
      sql/sql_class.h:
        Remember the error reported by the Resource Manager.
      sql/sql_parse.cc:
        Rollback the transaction if the Resource Manager reported
        a error and rolled back its branch of the transaction.
      cc0b0a3c
    • unknown's avatar
      Merge from mysql-5.0.70-release · f956333d
      unknown authored
      f956333d
    • Kristofer Pettersson's avatar
      Bug#39451 Debug builds broken with Sun Studio compiler · 7908c85a
      Kristofer Pettersson authored
                  
      Debug builds of MySQL 5.1, 6.0 with Sun Studio 12 broke because of
      use of gcc specific feature.
                  
      The fix is to replace __FUNCTION__ with the corresponding character string
      7908c85a
    • Georgi Kodinov's avatar
      587b79e2
    • Georgi Kodinov's avatar
      merged 5.0-bugteam -> 5.1-bugteam · bc99d0b7
      Georgi Kodinov authored
      bc99d0b7
    • Kristofer Pettersson's avatar
      Merge changeset · 674cef03
      Kristofer Pettersson authored
      674cef03
    • Kristofer Pettersson's avatar
      Auto merge · 8fb8e706
      Kristofer Pettersson authored
      8fb8e706
  7. 20 Oct, 2008 5 commits
  8. 17 Oct, 2008 2 commits
  9. 16 Oct, 2008 5 commits
    • Serge Kozlov's avatar
    • Gleb Shchepa's avatar
      fa409fdc
    • Gleb Shchepa's avatar
      Bug #39844: Query Crash Mysql Server 5.0.67 · 9f04b596
      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).
      
      
      mysql-test/r/order_by.result:
        Added test case for bug #39844.
      mysql-test/t/order_by.test:
        Added test case for bug #39844.
      sql/sql_select.cc:
        Bug #39844: Query Crash Mysql Server 5.0.67
        
        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).
      9f04b596
    • Georgi Kodinov's avatar
      Bug #39958: Test "windows" lacks a cleanup · d74a51b9
      Georgi Kodinov authored
      Added the missing DROP TABLE
      
      mysql-test/r/windows.result:
        Bug #39958: added the missing DROP TABLE
      mysql-test/t/windows.test:
        Bug #39958: added the missing DROP TABLE
      d74a51b9
    • Davi Arnaut's avatar
      ea63bcb9