1. 09 Oct, 2007 7 commits
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 277a7192
      unknown authored
      into  mysql.com:/home/ram/work/b31438/b31438.5.1
      
      
      277a7192
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.1-maint · 5cdb084e
      unknown authored
      into  mysql.com:/home/ram/work/b31438/b31438.5.1
      
      
      5cdb084e
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b31249/b31249.5.0 · 12fd56a9
      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.
      12fd56a9
    • unknown's avatar
      Fix for bug #31249: Assertion `!table || (!table->write_set || · 1a5f13a1
      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.
      1a5f13a1
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 3d57d915
      unknown authored
      into  alf.(none):/src/bug28774/my51-bug28774
      
      
      3d57d915
    • unknown's avatar
      Merge alf.(none):/src/bug28774/my50-bug28774 · d58a3bcd
      unknown authored
      into  alf.(none):/src/bug28774/my51-bug28774
      
      
      client/mysql_upgrade.c:
        Auto merged
      d58a3bcd
    • unknown's avatar
      Bug#28774 mysql_upgrade creates tempfiles in root-dir (C:\) and · d0204889
      unknown authored
      doesn't clean them up
      - Make sure to cleanup temporary files after use.
      
      
      client/mysql_upgrade.c:
        Bug#28774 mysql_upgrade creates tempfiles in root-dir (C:\) and 
        doesn't clean them up
        - Close file handle and delete temporary file when write fails.
      d0204889
  2. 08 Oct, 2007 4 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · f713c1ca
      unknown authored
      into  alf.(none):/src/bug28535/my51-bug28535
      
      
      client/mysqldump.c:
        Auto merged
      f713c1ca
    • unknown's avatar
      Bug#28535 mistake in mysqldump error message · 8dd58691
      unknown authored
      - Fixed error message.
      
      
      client/mysqldump.c:
        Bug#28535 mistake in mysqldump error message
        - Corrected parameter order.
      8dd58691
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint · 6859d8b8
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run-shell.sh:
        Auto merged
      netware/mysql_test_run.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      storage/ndb/include/ndbapi/Ndb.hpp:
        Auto merged
      scripts/mysqld_safe.sh:
        Manual merge.
      6859d8b8
    • unknown's avatar
      Fix for bug #31438: updatexml still crashes · c0cc6d2a
      unknown authored
      Problem: check missed if the second updatexml() argument is valid.
      
      Fix: check it.
      
      
      mysql-test/r/xml.result:
        Fix for bug #31438: updatexml still crashes
          - test result.
      mysql-test/t/xml.test:
        Fix for bug #31438: updatexml still crashes
          - test case.
      sql/item_xmlfunc.cc:
        Fix for bug #31438: updatexml still crashes
          - check if the second argument passed to the updatexml() is valid.
      c0cc6d2a
  3. 06 Oct, 2007 2 commits
  4. 05 Oct, 2007 26 commits
  5. 04 Oct, 2007 1 commit