1. 12 Oct, 2007 6 commits
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/maint/bug31254/my51-bug31254 · 5ee486cc
      unknown authored
      into  polly.(none):/home/kaa/src/maint/mysql-5.1-maint
      
      5ee486cc
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/maint/bug31254/my50-bug31254 · e0e70316
      unknown authored
      into  polly.(none):/home/kaa/src/maint/bug31254/my51-bug31254
      
      
      include/my_global.h:
        Auto merged
      e0e70316
    • unknown's avatar
      Fix for bug #31254: "Max_data_length" truncated / reported wrong · c414c0bf
      unknown authored
      (compiler issue ?)
      
      Problem:
      
      Improper compile-time flags on AIX prevented use of files > 2 GB. This
      resulted in Max_data_length being truncated to 2 GB by MyISAM code.
      
      Solution:
      
      Reverted large-file changes from the fix for bug10776. We need to define
      _LARGE_FILES on AIX to have support for files > 2 GB.
      
       Since _LARGE_FILE_API is incompatible with _LARGE_FILES and may be
      automatically defined by including standards.h, we also need a
      workaround to avoid this conflict.
      
      
      config/ac-macros/large_file.m4:
        Reverted large-file changes from the fix for bug10776. We need to define
        _LARGE_FILES on AIX to have support for files > 2 GB.
      include/my_global.h:
        _LARGE_FILE_API is defined in standards.h that is automatically included
        by at least some C++ compilers on AIX. Since it is also incompatible
        with _LARGE_FILES which is required for POSIX IO calls to be
        largefile-safe, the only workaround is to explicitely #undef
        _LARGE_FILE_API.
      c414c0bf
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 4647d3b6
      unknown authored
      into  sin.intern.azundris.com:/home/tnurnberg/30821/51-30821
      
      
      sql/mysqld.cc:
        Auto merged
      4647d3b6
    • unknown's avatar
      Merge sin.intern.azundris.com:/home/tnurnberg/30821/50-30821 · ea992f94
      unknown authored
      into  sin.intern.azundris.com:/home/tnurnberg/30821/51-30821
      
      
      sql/mysqld.cc:
        NULL merge
      ea992f94
    • unknown's avatar
      Bug#30821: setting --tc_heuristic_recover tries to set myisam_stats_method · eba2ae13
      unknown authored
      Options to mysqld were not processed correctly because switch statement
      was missing some "break"s. CS adds them.
      
      No test case; would require .opt file and server restart. Manually tested.
      
      
      sql/mysqld.cc:
        Add missing "break"s to switch() in mysqld to fix option processing.
      eba2ae13
  2. 11 Oct, 2007 3 commits
  3. 10 Oct, 2007 15 commits
  4. 09 Oct, 2007 16 commits
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · d5fb3253
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      d5fb3253
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/41 · 03ae735a
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      03ae735a
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · eb4a491e
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      eb4a491e
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · a7137828
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      client/mysqldump.c:
        Auto merged
      mysys/my_init.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      a7137828
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 13cf2d99
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/50
      
      
      sql/mysqld.cc:
        Auto merged
      13cf2d99
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · c082b295
      unknown authored
      into  mysql.com:/home/ram/work/mysql-5.1-maint
      
      c082b295
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 0b6cd0f9
      unknown authored
      into  mysql.com:/home/ram/work/mysql-5.1-maint
      
      
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/r/type_datetime.result:
        manual merge.
      mysql-test/t/type_datetime.test:
        manual merge.
      0b6cd0f9
    • unknown's avatar
      metadata test of bug # 31249: problem with convert(..., datetime) removed · 461e4668
      unknown authored
      as PS protocol gives slightly different metadata.
      
      461e4668
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50 · 1fc44802
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      sql/mysqld.cc:
        Use local (null merge)
      sql/set_var.cc:
        Use local (null merge)
      storage/innobase/handler/ha_innodb.cc:
        Use local (null merge)
      storage/innobase/handler/ha_innodb.h:
        Use local (null merge)
      1fc44802
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 0d6a6566
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      0d6a6566
    • unknown's avatar
      Fix for bug #29444: crash with partition refering to table in create-select · 492f0e3f
      unknown authored
      Problem: creating a partitioned table during name resolution for the 
      partition function we search for column names in all parts of the
      CREATE TABLE query. It is superfluous (and wrong) sometimes.
      
      Fix: launch name resolution for the partition function against
      the table we're creating.
      
      
      mysql-test/r/partition.result:
        Fix for bug #29444: crash with partition refering to table in create-select
          - test result.
      mysql-test/t/partition.test:
        Fix for bug #29444: crash with partition refering to table in create-select
          - test result.
      sql/item.cc:
        Fix for bug #29444: crash with partition refering to table in create-select
          - LEX::use_only_table_context introduced, which is used in the 
            Item_field::fix_fields() to resolve names only against
            context->first_name_resolution_table/last_name_resolution_table.
      sql/sql_lex.cc:
        Fix for bug #29444: crash with partition refering to table in create-select
          - LEX::use_only_table_context introduced, which is used in the 
            Item_field::fix_fields() to resolve names only against
            context->first_name_resolution_table/last_name_resolution_table.
      sql/sql_lex.h:
        Fix for bug #29444: crash with partition refering to table in create-select
          - LEX::use_only_table_context introduced, which is used in the 
            Item_field::fix_fields() to resolve names only against
            context->first_name_resolution_table/last_name_resolution_table.
      sql/sql_partition.cc:
        Fix for bug #29444: crash with partition refering to table in create-select
          - set the lex->use_only_table_context before the func_expr->fix_fields()
            call to ensure we're resolving names against the table we're creating;
            then restore it back after the call.
      492f0e3f
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 3b9738db
      unknown authored
      into  mysql.com:/home/ram/work/b31438/b31438.5.1
      
      3b9738db
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · a4ed5f59
      unknown authored
      into  mysql.com:/home/ram/work/b31249/b31249.5.0
      
      
      mysql-test/r/type_datetime.result:
        manual merge
      mysql-test/t/type_datetime.test:
        manual merge
      a4ed5f59
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 0d4ea9b0
      unknown authored
      into  mysql.com:/home/ram/work/b31438/b31438.5.1
      
      0d4ea9b0
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b31249/b31249.5.0 · afbf1985
      unknown authored
      into  mysql.com:/home/ram/work/b31249/b31249.5.1
      
      
      sql/item_timefunc.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/type_datetime.result:
        manual merge.
      mysql-test/t/type_datetime.test:
        manual merge.
      afbf1985
    • unknown's avatar
      Fix for bug #31249: Assertion `!table || (!table->write_set || · 0602a4fe
      unknown authored
      bitmap_is_set(table->write_set, fiel
      
      Problem: creating a temporary table we allocate the group buffer if needed
      followed by table bitmaps (see create_tmp_table()). Reserving less memory for 
      the group buffer than actually needed (used) for values retrieval may lead 
      to overlapping with followed bitmaps in the memory pool that in turn leads 
      to unpredictable consequences.
      
      As we use Item->max_length sometimes to calculate group buffer size,
      it must be set to proper value. In this particular case 
      Item_datetime_typecast::max_length is too small.
      
      Another problem is that we use max_length to calculate the group buffer
      key length for items represented as DATE/TIME fields which is superfluous.
      
      Fix: set Item_datetime_typecast::max_length properly,
      accurately calculate the group buffer key length for items 
      represented as DATE/TIME fields in the buffer.
      
      
      mysql-test/r/type_datetime.result:
        Fix for bug #31249: Assertion `!table || (!table->write_set || 
        bitmap_is_set(table->write_set, fiel
          - test result.
      mysql-test/t/type_datetime.test:
        Fix for bug #31249: Assertion `!table || (!table->write_set || 
        bitmap_is_set(table->write_set, fiel
          - test case.
      sql/item_timefunc.h:
        Fix for bug #31249: Assertion `!table || (!table->write_set || 
        bitmap_is_set(table->write_set, fiel
          - set Item_datetime_typecast::max_length properly.
      sql/sql_select.cc:
        Fix for bug #31249: Assertion `!table || (!table->write_set || 
        bitmap_is_set(table->write_set, fiel
          - the group buffer key length for items represented as 
        DATE/TIME fields in the buffer should be calculated using
        the maximum pack length of such fields (== 8), using 
        max_length here is redundant.
      0602a4fe