1. 22 May, 2007 1 commit
    • unknown's avatar
      Fix for bug #21476: stack overflow crashes server; error-message stack reservation too small · d076bcbc
      unknown authored
      Increase STACK_BUFF_ALLOC to avoid execution_constants test failure on the hpita2.
      
      
      sql/mysql_priv.h:
        Fix for bug #21476: stack overflow crashes server; error-message stack reservation too small
          - due to the failing execution_constants test on the hpita2, 
            increase STACK_BUFF_ALLOC, that is used in the Item_func::fix_fields() to 
            allocate on the stack a "dummy" buffer large enough for the corresponding exec.
      d076bcbc
  2. 21 May, 2007 3 commits
  3. 19 May, 2007 2 commits
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug28401/my50-bug28401 · f40047df
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
      
      
      f40047df
    • unknown's avatar
      Bug #28401 mysql_upgrade Failed with STRICT_ALL_TABLES, ANSI_QUOTES and NO_ZERO_DATE · f52f931f
      unknown authored
       - The SQL commands used by mysql_upgrade are written to be run
          with sql_mode set to '' - thus the scripts should change sql_mode
          for the session to make sure the SQL is legal.
      
      
      mysql-test/r/mysql_upgrade.result:
        Update test result
      mysql-test/t/mysql_upgrade.test:
        The SQL commands used by mysql_upgrade are written to be run
        with sql_mode set to '' - thus the scripts should change sql_mode
        for the session to make sure the SQL is legal.
      scripts/mysql_system_tables_fix.sql:
        Set sql_mode to '' before running the SQL commands
        to fix system tables - backport from 5.1
      f52f931f
  4. 18 May, 2007 14 commits
  5. 17 May, 2007 11 commits
    • unknown's avatar
      Merge olga.mysql.com:/home/igor/mysql-5.0-opt · 042b1717
      unknown authored
      into  olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug28337
      
      
      042b1717
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql50 · 8494cd5b
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/50_div_zero
      
      
      8494cd5b
    • unknown's avatar
      Bug #27119 server crash with integer division by zero during filesort on huge result · 9d3e7ea6
      unknown authored
      Fixed a compiler warning on platforms where uint != ulong from the first pushed fix.
      
      
      sql/filesort.cc:
        fixed a compiler warning on platforms where uint != ulong
      9d3e7ea6
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/maint/41 · 2738ca56
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      2738ca56
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 82db6cc6
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      82db6cc6
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/50 · ce5f0d1b
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      mysql-test/r/type_datetime.result:
        Auto merged
      mysql-test/t/outfile.test:
        Auto merged
      mysql-test/t/type_datetime.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/my_decimal.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      ce5f0d1b
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/41 · fde76b7e
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/maint/41
      
      
      fde76b7e
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql50 · 1155afff
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/50_div_zero
      
      
      1155afff
    • unknown's avatar
      Bug#28261: Wrong DATETIME comparison result when the GET_USER_VAR function · c4a4df5a
      unknown authored
      is involved.
      
      The Arg_comparator::compare_datetime() comparator caches its arguments if
      they are constants i.e. const_item() returns true. The
      Item_func_get_user_var::const_item() returns true or false based on
      the current query_id and the query_id where the variable was created.
      Thus even if a query can change its value its const_item() still will return
      true. All this leads to a wrong comparison result when an object of the
      Item_func_get_user_var class is involved.
      
      Now the Arg_comparator::can_compare_as_dates() and the
      get_datetime_value() functions never cache result of the GET_USER_VAR()
      function (the Item_func_get_user_var class).
      
      
      mysql-test/t/type_datetime.test:
        A test case is added for the bug#28261: Wrong DATETIME comparison result when the GET_USER_VAR function
        is involved.
      mysql-test/r/type_datetime.result:
        A test case is added for the bug#28261: Wrong DATETIME comparison result when the GET_USER_VAR function
        is involved.
      sql/item_cmpfunc.cc:
        Bug#28261: Wrong DATETIME comparison result when the GET_USER_VAR function
        is involved.
        Now the Arg_comparator::can_compare_as_dates() and the
        get_datetime_value() functions never cache result of the GET_USER_VAR()
        function (the Item_func_get_user_var class).
      c4a4df5a
    • unknown's avatar
      ps_6bdb.result: · db18dc9d
      unknown authored
        Fix bad merge of test results
      
      
      mysql-test/r/ps_6bdb.result:
        Fix bad merge of test results
      db18dc9d
    • unknown's avatar
      Fixed bug #28337: wrong results for grouping queries with correlated · dd1a1180
      unknown authored
      subqueries in WHERE conditions.
      This bug was introduced by the patch for bug 27321.
      
      
      mysql-test/r/subselect.result:
        Added a test case for bug #28337.
      mysql-test/t/subselect.test:
        Added a test case for bug #28337.
      sql/item.cc:
        Fixed bug #28337: wrong results for grouping queries with correlated
        subqueries in WHERE conditions.
        This bug was introduced by the patch for bug 27321.
        
        Now in the Item_field::fix_outer_field function we create an Item_outer_ref
        object for an outer reference only if it is used in the SELECT list or
        in the HAVING clause of the subquery against which the reference is resolved.
      dd1a1180
  6. 16 May, 2007 9 commits