1. 31 May, 2007 2 commits
    • unknown's avatar
      Merge polly.local:/home/kaa/src/maint/bug27643/my50-bug27643 · d92bc733
      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
      d92bc733
    • unknown's avatar
      Fix for bug #27643 "query failed : 1114 (The table '' is full) · f18a10c6
      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().
      f18a10c6
  2. 10 May, 2007 5 commits
  3. 09 May, 2007 9 commits
  4. 08 May, 2007 4 commits
    • unknown's avatar
      Fix for bug #28240: "isinf()" cannot be used in C++ for lack of prototype · 8931efa7
      unknown authored
      Since isinf() portability across various platforms and compilers is a complicated question, we should not use it directly. Instead, the my_isinf() macro should be used, which is defined as an alias to the system-defined isinf() if it is safe to use, or a workaround implementation otherwise.
      
      
      configure.in:
        Added a check to define HAVE_ISINF only if it can be used in C++ code as well.
      include/my_global.h:
        Define my_isinf() as an alias to isinf(), if it is available in both C and C++ code. Otherwise, define it to a workaround implementation.
      sql/item_func.cc:
        Replaced isinf() with my_isinf().
      strings/strtod.c:
        Replaced isinf() with my_isinf().
      8931efa7
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint · bde43f9c
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      configure.in:
        Auto merged
      bde43f9c
    • unknown's avatar
      Bug #23294: Detection of sem_xxx functions on NetBSD broken and \ · 2013f17e
      unknown authored
      	DragonflyBSD misc patches
      
      Add the original intended test, since our current test for sched_yield
      is insufficient to copy.
      
      
      configure.in:
        We can't check for sched_yield, as that is in libc on FBSD.
        
        Re-add the check for sem_init in librt.
      2013f17e
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-community--bug23294 · cd43057b
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      configure.in:
        SCCS merged
      cd43057b
  5. 07 May, 2007 10 commits
  6. 05 May, 2007 1 commit
  7. 04 May, 2007 6 commits
  8. 02 May, 2007 3 commits