1. 21 Jun, 2007 2 commits
    • unknown's avatar
      Merge amd64.(none):/src/bug27029/my50-bug27029 · 14c0e451
      unknown authored
      into  amd64.(none):/src/bug27029/my51-bug27029
      
      
      storage/myisam/sort.c:
        Auto merged
      14c0e451
    • unknown's avatar
      Bug#27029 alter table ... enable keys crashes mysqld on large table · 8d27f335
      unknown authored
      - When creating an index for the sort, the number of rows plus 1 is used 
      to allocate a buffer.  In this test case, the number of rows 4294967295 
      is the max value of an unsigned integer, so when 1 was added to it, a 
      buffer of size 0 was allocated causing the crash.
      - Create new test suite for this bug's test suite as per QA.
      
      
      myisam/sort.c:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - Check to make sure the value of records is < UINT_MAX32 to avoid a 
        false positive on the remaining condition.
      mysql-test/suite/large_tests/README.TXT:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - New testsuite for large tests.
        - Added mtr hint for potential testers.
      mysql-test/suite/large_tests/r/alter_table.result:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - New testsuite for large tests.
        - Added results for bug.
      mysql-test/suite/large_tests/t/alter_table.test:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - New testsuite for large tests.
        - Added test for bug.
      8d27f335
  2. 04 Jun, 2007 5 commits
  3. 03 Jun, 2007 1 commit
  4. 02 Jun, 2007 3 commits
  5. 01 Jun, 2007 21 commits
  6. 31 May, 2007 8 commits
    • unknown's avatar
      Bug#28373 mysqltest test case fails with binlog disabled · 0d1fb462
      unknown authored
       - Update tests to be independent how the mysqld was started
      
      
      mysql-test/r/mysqltest.result:
        Update result file
      mysql-test/t/mysqltest.test:
        The purpose of these three test is to check that "sync_with_master"
        detects illegal parameters, the parameter checking is done before
        sending any command to the server and the "save_master_pos" can be
        removed in two cases to make the tests independent of mysqld.
        The thirs test is removed since it's a syntax check that is done
        after the command has been executed and is done for all comands in
        mysqltest - it's tested elsewhere and is not specific to "sync_with_master"
      0d1fb462
    • unknown's avatar
      Merge polly.local:/home/kaa/src/maint/bug27643/my51-bug27643 · dff5b293
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
      
      dff5b293
    • unknown's avatar
      Corrected the error codes and messages for 5.1. This is to fix PB failures... · 3e1372d3
      unknown authored
      Corrected the error codes and messages for 5.1. This is to fix PB failures introduced by the patch for bug #27643.
      
      
      mysql-test/r/ctype_ucs2_def.result:
        Corrected the error messages for 5.1
      mysql-test/r/heap_hash.result:
        Corrected the error messages for 5.1
      mysql-test/t/ctype_ucs2_def.test:
        Corrected the error codes for 5.1.
      mysql-test/t/heap_hash.test:
        Corrected the error codes for 5.1.
      3e1372d3
    • unknown's avatar
      Merge polly.local:/home/kaa/src/maint/bug27643/my51-bug27643 · 54e62f61
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
      
      
      sql/sql_select.cc:
        Auto merged
      54e62f61
    • unknown's avatar
      Merge polly.local:/home/kaa/src/maint/bug27643/my50-bug27643 · b0ba75a4
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.0-maint
      
      
      sql/sql_select.cc:
        Auto merged
      b0ba75a4
    • unknown's avatar
      Merge polly.local:/home/kaa/src/maint/bug27643/my50-bug27643 · 783b0411
      unknown authored
      into  polly.local:/home/kaa/src/maint/bug27643/my51-bug27643
      
      
      mysql-test/r/ctype_ucs2_def.result:
        Auto merged
      mysql-test/r/heap_hash.result:
        Auto merged
      mysql-test/t/ctype_ucs2_def.test:
        Auto merged
      mysql-test/t/heap_hash.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-mb.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      783b0411
    • unknown's avatar
      Fix for bug #27643 "query failed : 1114 (The table '' is full) · b6829f41
      unknown authored
      Problem:
      
      HASH indexes on VARCHAR columns with binary collations did not ignore trailing spaces from strings before comparisons. This could result in duplicate records being successfully inserted into a MEMORY table with unique key constraints.
      
      As a direct consequence of the above, internal MEMORY tables used for GROUP BY calculation in testcases for bug #27643 contained duplicate rows which resulted in duplicate key errors when converting those temporary tables to MyISAM. Additionally, that error was incorrectly converted to the 'table is full' error.
      
      Solution:
      
      - ignore trailing spaces in VARCHAR fields with binary collations when calculating hashes.
      - return a proper error from create_myisam_from_heap() when conversion fails.
      
      
      mysql-test/r/ctype_ucs2_def.result:
        Added a testcase for bug #27643.
      mysql-test/r/heap_hash.result:
        Added a testcase for bug #27643.
      mysql-test/t/ctype_ucs2_def.test:
        Added a testcase for bug #27643.
      mysql-test/t/heap_hash.test:
        Added a testcase for bug #27643.
      sql/sql_select.cc:
        Return an appropriate error instead of 'table is full' when conversion from MEMORY to MyISAM fails.
      strings/ctype-bin.c:
        Added my_hash_sort_8bit_bin() which ignores trailing spaces when calculating hashes, and is now used for VARCHAR columns instead of my_hash_sort_bin().
      strings/ctype-mb.c:
        Ignore trailing spaces when calculating a string hash in my_hash_sort_mb_bin().
      strings/ctype-ucs2.c:
        Ignore trailing spaces when calculating a string hash in my_hash_sort_ucs2_bin().
      b6829f41
    • unknown's avatar
      Merge polly.local:/home/kaa/src/maint/bug28121/my51-bug28121 · f9f42055
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
      
      
      strings/strtod.c:
        Auto merged
      f9f42055