- 31 May, 2007 2 commits
-
-
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
-
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().
-
- 10 May, 2007 5 commits
-
-
unknown authored
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
-
unknown authored
into polly.local:/home/kaa/src/maint/bug28240/my51-bug24240 configure.in: Auto merged include/my_global.h: Auto merged sql/item_func.cc: Auto merged
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
- Give some more protection against "too long socket name by setting the max length when to use a tmpdir for sockets to 70 mysql-test/mysql-test-run.pl: Give some more protection against "too long socket name by setting the max length when to use a tmpdir for sockets to 70
-
- 09 May, 2007 9 commits
-
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/bug28193/my51-bug28193
-
unknown authored
- Change testcase to use remove_file mysql-test/t/outfile.test: Change "exec rm" to "remove_file"
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/bug28193/my50-bug28193 mysql-test/t/outfile.test: Use local
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
- Change "exec rm" to "remove_file" mysql-test/t/outfile.test: Change "exec rm" to "remove_file"
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-4.1-maint
-
- 08 May, 2007 4 commits
-
-
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().
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint configure.in: Auto merged
-
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.
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint configure.in: SCCS merged
-
- 07 May, 2007 10 commits
-
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug27976/my51-bug27976 mysql-test/r/repair.result: Auto merged
-
unknown authored
mysql-test/r/repair.result: New error listing in v5.
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
-
unknown authored
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
-
unknown authored
- Fix use of uninitialized variable in config/ac-macros/ssl.m4 config/ac-macros/ssl.m4: Use of uninitialized variable caused $openssl_includes to be set to -I when configuring mysql to compile with openSSL
-
- 05 May, 2007 1 commit
-
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug27976/my51-bug27976 mysql-test/r/repair.result: Auto merged storage/myisam/sort.c: Auto merged
-
- 04 May, 2007 6 commits
-
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug27976/my50-bug27976 mysql-test/r/repair.result: Auto merged myisam/sort.c: Manual merge.
-
unknown authored
The message is gramatically wrong, and factually wrong. Change it to refer to the myisam_sort_buffer_size variable and change "to" to "too". myisam/sort.c: Change error messages to be gramatically correct and to refer to the correct variable. mysql-test/r/repair.result: Refer to the correct variable. Message changed.
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug27173/my51-bug27173 storage/myisam/ha_myisam.cc: Auto merged
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/bug27173/my50-bug27173 sql/ha_myisam.cc: SCCS merged
-
unknown authored
Warnings may show up in the error log that complain about a table, yet don't tell us which table. Add the database and table names to the message. sql/ha_myisam.cc: Add the database and table names to the warning message.
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-new-maint configure.in: Auto merged
-
- 02 May, 2007 3 commits