summaryrefslogtreecommitdiff
path: root/strings
Commit message (Collapse)AuthorAgeFilesLines
* Merge mysql.com:/home/gluh/MySQL/Merge/5.0gluh@eagle.(none)2007-10-231-1/+2
|\ | | | | | | into mysql.com:/home/gluh/MySQL/Merge/5.0-opt
| * Fixed bug #31019: the MOD() function and the % operator crash the servergshchepa/uchum@gleb.loc2007-10-081-1/+2
| | | | | | | | | | | | | | | | when a divisor is less than 1 and its fractional part is very long. For example: 1 % .123456789123456789123456789123456789123456789123456789123456789123456789123456789; Stack buffer overflow has been fixed in the do_div_mod function.
* | Merge mysql.com:/home/ram/work/b31070/b31070.4.1ramil/ram@ramil.myoffice.izhnet.ru2007-10-044-9/+7
|\ \ | |/ |/| | | into mysql.com:/home/ram/work/b31070/b31070.5.0
| * Fix for bug #31069: crash in 'sounds like'ramil/ram@mysql.com/ramil.myoffice.izhnet.ru2007-10-045-11/+9
| | | | | | | | | | | | | | | | | | and for bug #31070: crash during conversion of charsets Problem: passing a 0 byte length string to some my_mb_wc_XXX() functions leads to server crash due to improper argument check. Fix: properly check arguments passed to my_mb_wc_XXX() functions.
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maintcmiller@zippy.cornsilk.net2007-08-071-3/+3
|\ \ | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
| * | Bug#27562: ascii.xml invalid?cmiller@zippy.cornsilk.net2007-08-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Two character mappings were way off (backtick and tilde were "E" and "Y"!), and three others were slightly rotated. The first would cause collisions, and the latter was probably benign. Now, assign the character mappings exactly to their normal values.
* | | Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b28875bar@bar.myoffice.izhnet.ru2007-08-033-6/+94
|\ \ \ | |/ / |/| | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0-rpl
| * | Bug#28875 Conversion between ASCII and LATIN1 charsets does not functionbar@mysql.com/bar.myoffice.izhnet.ru2007-08-033-7/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Regression, caused by a patch for the bug 22646). Problem: when result type of date_format() was changed from binary string to character string, mixing date_format() with a ascii column in CONCAT() stopped to work. Fix: - adding "repertoire" flag into DTCollation class, to mark items which can return only pure ASCII strings. - allow character set conversion from pure ASCII to other character sets.
* | | Merge olga.mysql.com:/home/igor/mysql-5.0-rpligor@olga.mysql.com2007-07-131-1/+1
|\ \ \ | | | | | | | | | | | | into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-merge
| * | | Bug#29461: Sort order of the collation wasn't used when comparing charactersevgen@moonbone.local2007-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with the space character. When the my_strnncollsp_simple function compares two strings and one is a prefix of another then this function compares characters in the rest of longer key with the space character to find whether the longer key is greater or less. But the sort order of the collation isn't used in this comparison. This may lead to a wrong comparison result, wrongly created index or wrong order of the result set of a query with the ORDER BY clause. Now the my_strnncollsp_simple function uses collation sort order to compare the characters in the rest of longer key with the space character.
* | | | Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b29333bar@bar.myoffice.izhnet.ru2007-07-052-14/+29
|\ \ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0-rpl
| * | | | Bug#29333 myisam corruption with character set cp932 collate cp932_japanese_cibar@mysql.com/bar.myoffice.izhnet.ru2007-07-042-14/+29
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: wrong comparison with trailing space. This problem was fixed for all other character sets under terms of bug 7788 ""Table is full" occurs during a multitable update". ctype-cp932.c was forgotten. Fix: applying the same fix for ctype-cp932.c. (see ctype-sjis.c as an example of a previously correctly fixed file)
* | | | Printing copyright into ctype-extra.cbar@mysql.com/bar.myoffice.izhnet.ru2007-07-052-1/+25
| | | |
* | | | Bug#29499 Converting 'del' from ascii to Unicode results in 'question mark'bar@mysql.com/bar.myoffice.izhnet.ru2007-07-041-2/+2
|/ / /
* | | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rplbar@bar.myoffice.izhnet.ru2007-07-033-2/+115
|\ \ \ | | | | | | | | | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0.b27345
| * | | Bug#27345 Incorrect data returned when range-read from utf8_danish_ci indexesbar@mysql.com/bar.myoffice.izhnet.ru2007-06-283-2/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: like_range() returned wrong ranges for contractions (like 'ch' in Czech'). Fix: adding a special code to handle tricky cases: - contraction head followed by a wild character - full contraction - contraction part followed by another contraction part, but they are not a contraction together.
* | | | Bug#29261: Sort order of the collation wasn't used when comparing trailingevgen@moonbone.local2007-06-291-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spaces. When the my_strnncollsp_simple function compares two strings and one is a prefix of another then this function compares characters in the rest of longer key with the space character to find whether the longer key is greater or less. But the sort order of the collation isn't used in this comparison. This may lead to a wrong comparison result, wrongly created index or wrong order of the result set of a query with the ORDER BY clause. Now the my_strnncollsp_simple function uses collation sort order to compare the characters in the rest of longer key with the space character.
* | | Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpllars/lthalmann@dl145k.mysql.com2007-06-115-9/+9
|\ \ \ | |/ / | | | | | | into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
| * | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rplbar@bar.myoffice.izhnet.ru2007-06-082-3/+3
| |\ \ | | | | | | | | | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0.b28916
| | * | Bug#28916 LDML doesn't work for utf8bar@mysql.com/bar.myoffice.izhnet.ru2007-06-072-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and is not described in the manual - Adding missing initialization for utf8 collations - Minor code clean-ups: renaming variables, moving code into a new separate function. - Adding test, to check that both ucs2 and utf8 user defined collations work (ucs2_test_ci and utf8_test_ci) - Adding Vietnamese collation as a complex user defined collation example.
| * | | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rplbar@bar.myoffice.izhnet.ru2007-06-073-6/+6
| |\ \ \ | | |/ / | |/| | | | | | into mysql.com:/home/bar/mysql-work/mysql-5.0.b26711
| | * | Bug#26711 "Binary content 0x00 sometimes becomes 0x5C 0x00 after dump/load"bar@mysql.com/bar.myoffice.izhnet.ru2007-06-073-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "SELECT INTO OUTFILE" created incorrect dumps for BLOBs, so "LOAD DATA" later incorrectly interpreted 0x5C as the second byte of a multi-byte sequence, instead of escape character. Fix: adding escaping of multi-byte heads.
* | | | Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0tsmith@quadxeon.mysql.com2007-06-051-1/+2
|\ \ \ \ | |/ / / | | | | | | | | into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/50
| * | | Merge bk-internal.mysql.com:/data0/bk/mysql-5.0ibabaev@bk-internal.mysql.com2007-05-281-1/+2
| |\ \ \ | | |/ / | |/| | | | | | into bk-internal.mysql.com:/data0/bk/mysql-5.0-opt
| | * | Bug #27984 Long Decimal Maths produces truncated results.holyfoot/hf@mysql.com/hfmain.(none)2007-05-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | decimal_round failed to perform a correct rounding of a decimal number if its first nine digits were '9'. It just sets those digits to 0.
* | | | Merge polly.local:/home/kaa/src/maint/bug27643/my50-bug27643kaa@polly.local2007-05-313-2/+35
|\ \ \ \ | | | | | | | | | | | | | | | into polly.local:/home/kaa/src/maint/mysql-5.0-maint
| * | | | Fix for bug #27643 "query failed : 1114 (The table '' is full)kaa@polly.local2007-05-313-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Got rid of log_01[], because we don't really need it. Division and log_10[] ↵kaa@polly.local2007-05-301-37/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can always be used instead, which is also a more precise way. This is for bug #28121.
* | | | | Don't use log_01[] in my_strtod() to avoid loss of precision.kaa@polly.local2007-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | This is for bug #28121.
* | | | | Some Windows-related fixes to make Microsoft compilers happy. This is for ↵kaa@polly.local2007-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | bug #28128.
* | | | | Merge polly.local:/home/kaa/src/maint/bug28121/my50-bug28121kaa@polly.local2007-05-281-15/+72
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | into polly.local:/home/kaa/src/maint/mysql-5.0-maint
| * | | | Fix for bug #28121 "INSERT or UPDATE into DOUBLE(200,0) field being ↵kaa@polly.local2007-05-281-15/+72
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | truncated to 31 digits" When storing a large number to a FLOAT or DOUBLE field with fixed length, it could be incorrectly truncated if the field's length was greater than 31. This patch also does some code cleanups to be able to reuse code which is common between Field_float::store() and Field_double::store().
* | | | Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/50tsmith@quadxeon.mysql.com2007-05-211-1/+5
|\ \ \ \ | | |/ / | |/| | | | | | into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
| * | | bug #8663 cant use bigint unsigned as input to castholyfoot/hf@mysql.com/hfmain.(none)2007-05-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | in the case of the overflow in the decimal->integer conversion we didn't return the proper boundary value, but just the result of the conversion we calculated on the moment of the error
* | | | Merge siva.hindu.god:/home/tsmith/m/bk/50tsmith@siva.hindu.god2007-05-171-0/+8
|\ \ \ \ | |/ / / | | | | | | | | into siva.hindu.god:/home/tsmith/m/bk/maint/50
| * | | Bug #27957 cast as decimal does not check overflow, also inconsistent with ↵holyfoot/hf@mysql.com/hfmain.(none)2007-05-091-0/+8
| |/ / | | | | | | | | | | | | | | | group, subselect Missing check for overflow added to the Item_decimal_typecast::val_decimal
* | | Fix for bug #28240: "isinf()" cannot be used in C++ for lack of prototypemsvensson@pilot.blaudden2007-05-161-1/+1
|/ / | | | | | | | | | | | | | | - 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
* | Code layout fix for bug N 27079bar@mysql.com2007-03-291-17/+16
| | | | | | | | Thanks to Gluh for suggestion.
* | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rplbar@mysql.com2007-03-291-1/+6
|\ \ | | | | | | | | | into mysql.com:/home/bar/mysql-5.0.b27079
| * | Bug#22378 Make error, strings/ctype-utf8.c, uni_plane undeclaredbar@mysql.com2007-03-271-1/+6
| | | | | | | | | | | | | | | | | | - Fixing utf8_general_cs according to recent changes. - Compiling utf8_general_cs in pentium-debug-max configuration to avoid these problems in the future.
* | | Bug#27079 Crash while grouping empty ucs2 stringsbar@mysql.com2007-03-271-7/+27
|/ / | | | | | | | | | | | | | | | | | | | | | | Problem: GROUP BY on empty ucs2 strings crashed server. Reason: sometimes mi_unique_hash() is executed with ptr=null and length=0, which means "empty string". The branch of code handling UCS2 character set was not safe against ptr=null and fell into and endless loop even if length=0 because of poiter arithmetic overflow. Fix: adding special check for length=0 to avoid pointer arithmetic overflow.
* | Fixed compiler warnings (for linux and win32 and win64)monty@mysql.com/narttu.mysql.fi2007-02-223-1/+9
| | | | | | | | Fixed a couple of usage of not initialized warnings (unlikely cases)
* | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2007-01-2212-91/+100
|\ \ | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| * \ Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2006-12-1512-91/+100
| |\ \ | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| | * | Fixed compiler warnings detected by option -Wshadow and -Wunused:monty@mysql.com/narttu.mysql.fi2006-12-1512-91/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed not used variables and functions - Added #ifdef around code that is not used - Renamed variables and functions to avoid conflicts - Removed some not used arguments Fixed some class/struct warnings in ndb Added define IS_LONGDATA() to simplify code in libmysql.c I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes
* | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0cmiller@zippy.cornsilk.net2007-01-1120-15/+90
|\ \ \ \ | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
| * | | | my_strtoll10-x86.s:kent@mysql.com/kent-amd64.(none)2006-12-3120-15/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected spelling in copyright text Makefile.am: Don't update the files from BitKeeper Many files: Removed "MySQL Finland AB & TCX DataKonsult AB" from copyright header Adjusted year(s) in copyright header Many files: Added GPL copyright text Removed files: Docs/Support/colspec-fix.pl Docs/Support/docbook-fixup.pl Docs/Support/docbook-prefix.pl Docs/Support/docbook-split Docs/Support/make-docbook Docs/Support/make-makefile Docs/Support/test-make-manual Docs/Support/test-make-manual-de Docs/Support/xwf
* | | | | Merge siva.hindu.god:/usr/home/tim/m/bk/g50tsmith/tim@siva.hindu.god2006-12-2688-176/+113
|\ \ \ \ \ | |/ / / / | | | | | | | | | | into siva.hindu.god:/usr/home/tim/m/bk/50
| * | | | Many files:kent@mysql.com/kent-amd64.(none)2006-12-2388-176/+113
| | | | | | | | | | | | | | | | | | | | Changed header to GPL version 2 only
* | | | | Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-mainttsmith/tim@siva.hindu.god2006-12-222-5/+20
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | into siva.hindu.god:/usr/home/tim/m/bk/50