summaryrefslogtreecommitdiff
path: root/strings
Commit message (Collapse)AuthorAgeFilesLines
* manual merge 5.0-bugteam --> 5.1-bugteam (bug 49955)Gleb Shchepa2010-01-111-2/+2
|\
| * Bug #49955: ld error message: undefined reference to `strmov_overlapp'Gleb Shchepa2010-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 32bit builds with the --enable-assembler flag (enabled by default) fail with an error message: undefined reference to `strmov_overlapp'. Since the fix for bug 48866 we use a home-grown strmov function instead of the ctpcpy function, but the source file for this function was missed in the Makefile.am. The strings/Makefile.am file has been modified to include strmov.c file into ASSEMBLER_x86 and ASSEMBLER_sparc32 sections.
* | mergeGeorgi Kodinov2009-12-241-5/+1
|\ \ | |/
| * Bug #48866: mysql.test fails under Fedora 12Georgi Kodinov2009-12-161-5/+1
| | | | | | | | | | | | | | | | strmov() is not guaranteed to work correctly on overlapping source and destination buffers. On some OSes it may work, but Fedora 12 has a stpcpy() that's not working correctly on overlapping buffers. Fixed to use the overlap-safe version of strmov instead. Re-vitalized the overlap-safe version of strmov.
* | Recommit of patch for bug#49028 for 5.1.Mattias Jonsson2009-12-141-10/+0
| | | | | | | | | | Includes both patch from bug#48737 (without test, which should go to next-mr) and test for bug#49028.
* | A post fix for BUG#45645 Mysql server close all connection and restart using ↵Alexander Barkov2009-10-201-1/+2
| | | | | | | | | | | | lower function - Initialized caseinfo only if it is NULL
* | Bug#45645 Mysql server close all connection and restart using lower functionAlexander Barkov2009-10-191-0/+2
| | | | | | | | | | | | | | Problem: the "caseinfo" member of CHARSET_INFO structure was not initialized for user-defined Unicode collations, which made the server crash. Fix: initializing caseinfo properly.
* | Bug#46448 trailing spaces are not ignored when user collation maps space != 0x20V Narayanan2009-10-121-2/+2
| | | | | | | | | | | | | | | | | | | | In MySQL when the mapping for space is changed to something other than 0x20 by defining a different collation, then space is not ignored when comparing two strings. This was happening because the function that performs the comparison of two strings while ignoring ending spaces, was comparing the collation value of a space with the ascii value of the ' ' character. This should be changed to do comparison between the collated values.
* | Merge from 5.0 for 43414Staale Smedseng2009-08-283-23/+9
|\ \ | |/
| * Bug #43414 Parenthesis (and other) warnings compiling MySQLStaale Smedseng2009-08-283-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with gcc 4.3.2 This patch fixes a number of GCC warnings about variables used before initialized. A new macro UNINIT_VAR() is introduced for use in the variable declaration, and LINT_INIT() usage will be gradually deprecated. (A workaround is used for g++, pending a patch for a g++ bug.) GCC warnings for unused results (attribute warn_unused_result) for a number of system calls (present at least in later Ubuntus, where the usual void cast trick doesn't work) are also fixed.
| * Bug #46042: backported the fix for the valgrind warning from 5.1Georgi Kodinov2009-07-161-3/+3
| |
* | Backporting "WL#3332 Korean Enhancements" andAlexander Barkov2009-07-241-5/+5
| | | | | | | | | | "WL#4584 New euckr characters" from 5.4. (as agreed on ServerPT meeting on July 8).
* | Merge from 5.0Staale Smedseng2009-06-291-3/+3
|\ \ | |/
| * Merge from 5.0-btStaale Smedseng2009-06-291-3/+3
| |
* | Addendum to Bug #45286: backport macro name form other treeTatiana A. Nurnberg2009-06-061-3/+2
| | | | | | | | use same (slightly unwieldy) name in all trees; fix before this version goes "public". bless ctype to avoid upmerge conflict, le sigh.
* | automergeGeorgi Kodinov2009-06-051-1/+4
|\ \ | |/
| * Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSXGeorgi Kodinov2009-06-051-1/+4
| | | | | | Fixed the 5.0-bugteam MacOSX warnings.
* | Bug#43827 Server closes connections and restartsAlexander Barkov2009-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash happened with a user-defined utf8 collation, on attempt to insert a value longer than the column to store. Reason: The "ctype" member was not initialized (NULL) when allocating a user-defined utf8 collation, so an attempt to call my_ctype(cs, *str) to check if we loose any important data when truncating the value made the server crash. Fix: Initializing tge "ctype" member to a proper value. mysql-test/r/ctype_ldml.result Adding tests mysql-test/t/ctype_ldml.test Adding tests strings/ctype-uca.c Adding initialization of "ctype" member. modified: mysql-test/r/ctype_ldml.result mysql-test/t/ctype_ldml.test strings/ctype-uca.c
* | Bug#44352 UPPER/LOWER function doesn't work correctlyAlexander Barkov2009-05-052-8/+8
| | | | | | | | | | | | | | | | on cp932 and sjis environment. Problem: case conversion erroneously changes the second bytes of multi-byte sequences because single-byte functions were called in a mistake. Fix: call multi-byte aware functions instead.
* | merged 5.0-bugteam -> 5.1-bugteamGeorgi Kodinov2009-03-241-1/+2
|\ \ | |/
| * merging with mysql-5.0-bugteamNarayanan V2009-03-201-1/+1
| |\
| | * Bug#42937 strings/CHARSET_INFO.txt not included in source distributionsNarayanan V2009-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | The reference manual has instructions for adding new character sets, and refers to the string/CHARSET_INFO.txt file. This file is currently not present in the distribution. Modify the build to include this file in the distribution.
* | | Bug#29125 Windows Server X64: so many compiler warningsIgnacio Galarza2009-02-132-4/+4
|\ \ \ | |/ / | | | | | | | | | | | | - Remove bothersome warning messages. This change focuses on the warnings that are covered by the ignore file: support-files/compiler_warnings.supp. - Strings are guaranteed to be max uint in length
| * | Bug#29125 Windows Server X64: so many compiler warningsIgnacio Galarza2009-02-105-11/+11
| |/ | | | | | | | | - Remove bothersome warning messages. This change focuses on the warnings that are covered by the ignore file: support-files/compiler_warnings.supp. - Strings are guaranteed to be max uint in length
* | merged 5.1-main -> 5.1-bugteamGeorgi Kodinov2009-01-051-1/+1
|\ \
| * | Changes of copyright output from "--version" and similar.kent.boortz@sun.com2008-11-141-1/+1
| | | | | | | | | | | | Changes of copyright in RPM spec file.
* | | 5.0-bugteam->5.1-bugteam mergeSergey Glukhov2008-12-231-0/+10
|\ \ \ | | |/ | |/|
| * | Bug#37575 UCASE fails on monthnameSergey Glukhov2008-12-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | The MONTHNAME/DAYNAME functions returns binary string, so the LOWER/UPPER functions are not effective on the result of MONTHNAME/DAYNAME call. Character set of the MONTHNAME/DAYNAME function result has been changed to connection character set.
* | | Bug#38227 EXTRACTVALUE doesn't work with DTD declarationsAlexander Barkov2008-12-101-2/+11
| |/ |/| | | | | | | | | | | | | | | | | | | Problem: XML syntax parser allowed to use quoted strings as attribute names, and tried to put them into parser state stack instead of identifiers. After that parser failed, if quoted string contained some slash characters. Fix: - Disallowing quoted strings in regular tags. - Allowing quoted string in DOCTYPE declararion, but don't push it into parse state stack (just skip it).
* | Merge from 5.0-bugteam.Chad MILLER2008-08-151-7/+15
|\ \ | |/
| * Bug#36270: incorrect calculation result - works in 4.1 but not in 5.0 or 5.1Chad MILLER2008-08-151-7/+15
| | | | | | | | | | | | | | | | When the fractional part in a multiplication of DECIMALs overflowed, we truncated the first operand rather than the longest. Now truncating least significant places instead for more precise multiplications. (Queuing at demand of Trudy/Davi.)
* | merged 5.0-bugteam to 5.1-bugteamGeorgi Kodinov2008-05-281-46/+92
|\ \ | |/
| * Updating charset doc files.Alexander Barkov2008-05-281-48/+94
| | | | | | | | | | Thanks to Paul for preparing the up-to-date files reflecting 4.1 changes.
* | Merge host.loc:/home/uchum/work/5.0-bugteamgshchepa/uchum@host.loc2008-04-232-4/+8
|\ \ | |/ | | | | into host.loc:/home/uchum/work/5.1-bugteam
| * Fixed bug #35993: memory corruption and crash with multibyte conversion.gshchepa/uchum@host.loc2008-04-232-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Grouping or ordering of long values in not indexed BLOB/TEXT columns with GBK or BIG5 charsets crashes the server. MySQL server uses sorting (the filesort procedure) in the temporary table to evaluate the GROUP BY clause in case of lack of suitable index. That procedure takes into account only first @max_sort_length bytes (system variable, usually 1024) of TEXT/BLOB sorting key string. The my_strnxfrm_gbk and my_strnxfrm_big5 fill temporary keys with data of whole blob length instead of @max_sort_length bytes length. That buffer overrun has been fixed.
* | Merge stella.local:/home2/mydev/mysql-5.1-amainistruewing@stella.local2008-03-261-3/+3
|\ \ | | | | | | | | | into stella.local:/home2/mydev/mysql-5.1-axmrg
| * | backport valgrind cleanups from 6.0-enginesacurtis/antony@xiphis.org/ltamd64.xiphis.org2008-02-191-3/+3
| | |
* | | Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rplmkindahl@dl145h.mysql.com2008-02-205-5/+5
|\ \ \ | | |/ | |/| | | | into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
| * | Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b32510bar@bar.myoffice.izhnet.ru2008-02-205-5/+5
| |\ \ | | | | | | | | | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0.b32510v2
| | * | Bug#32510 LIKE search fails with indexed 'eucjpms' and 'ujis' char columnbar@mysql.com/bar.myoffice.izhnet.ru2008-02-045-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: some collation handlers called incorrect version of my_like_range_xxx(), which led to wrong min_str and max_str, so like range optimizer threw away good records. Fix: changing the wrong handlers to call proper version of my_like_range_xxx().
| * | | Merge mhansson@bk-internal:/home/bk/mysql-5.0-optmhansson/martin@linux-st28.site2008-01-171-2/+14
| |\ \ \ | | | | | | | | | | | | | | | into linux-st28.site:/home/martin/mysql/src/bug33143/my50-bug33143-again-pushee
| * \ \ \ Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-opttnurnberg@white.intern.koehntopp.de2007-12-171-14/+16
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/misc/mysql/31752_/50-31752_
| * \ \ \ \ Merge mysql.com:/home/gluh/MySQL/Merge/5.0gluh@eagle.(none)2007-12-131-0/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
| * \ \ \ \ \ Merge stella.local:/home2/mydev/mysql-5.0-amainistruewing@stella.local2007-12-111-2/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into stella.local:/home2/mydev/mysql-5.0-axmrg
| | * \ \ \ \ \ Merge mysql.com:/home/ram/work/mysql-5.0-enginesramil/ram@ramil.myoffice.izhnet.ru2007-11-291-2/+2
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/ram/work/b32726/b32726.5.0
| * | \ \ \ \ \ \ Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0tsmith@ramayana.hindu.god2007-12-042-5/+25
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | into ramayana.hindu.god:/home/tsmith/m/bk/maint/50
| | * | | | | | | Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0mkindahl@dl145h.mysql.com2007-11-211-4/+23
| | |\ \ \ \ \ \ \ | | | | |_|_|_|/ / | | | |/| | | | | | | | | | | | | | into dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge
| | | * | | | | | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0bar@bar.myoffice.izhnet.ru2007-10-301-4/+23
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0-rpl-merge
| | | | * \ \ \ \ \ Merge mysql.com:/home/bar/mysql-work/mysql-5.0bar@bar.myoffice.izhnet.ru2007-10-241-4/+23
| | | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0-rpl-mr
* | | | | | | | | | | Bug#27877 incorrect german order in utf8_general_cibar@mysql.com/bar.myoffice.izhnet.ru2008-02-111-1/+1
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: incorrect sort order for "U+00DF SHARP S". Fix: changing sort order for U+00DF to be equal to 's', like the manual says.