bar@mysql.com
949aced164
Merge mysql.com:/usr/home/bar/mysql-4.1.b15377
...
into mysql.com:/usr/home/bar/mysql-5.0
2006-01-13 16:39:33 +04:00
bar@mysql.com
b99f9ab723
Bug#15377 Valid multibyte sequences are truncated on INSERT
...
ctype-euc_kr.c:
ctype-gb2312.c:
Adding specific well_formed_length functions
for gb2312 and euckr, to allow storing characters
which are correct according to the character set
specifications but just don't have Unicode mapping.
Previously only those which have Unicode mapping
could be stored, while unassigned characters lead
to data truncation.
Many files:
new file
2005-12-09 16:37:58 +04:00
bar@mysql.com
39b0712cf7
type_binary.result, type_binary.test:
...
new file
mysql_fix_privilege_tables.sql, mysql_create_system_tables.sh:
Adding true BINARY/VARBINARY: fixing "password" type, not to be 0x00-padding.
Many files:
Adding true BINARY/VARBINARY: fixing tests not to output 0x00 bytes.
Adding true BINARY/VARBINARY: new pad_char structure member.
ctype-bin.c:
Adding true BINARY/VARBINARY: new pad_char structure member.
New strnxfrm, with two trailing length bytes.
field.cc:
Adding true BINARY/VARBINARY.
2005-10-13 19:16:19 +05:00
elliot@mysql.com
55b81af671
Merge mysql.com:/home/emurphy/src/bk-clean/mysql-4.1
...
into mysql.com:/home/emurphy/src/work/mysql-5.0
2005-08-19 15:29:30 -04:00
elliot@mysql.com
197782605f
BUG#11338 (logging of prepared statement w/ blob type)
...
In cp932, '\' character can be the second byte in a
multi-byte character stream. This makes it difficult to use
mysql_escape_string. Added flag to indicate which languages allow
'\' as second byte of multibyte sequence so that when putting a prepared
statement into the binlog we can decide at runtime whether hex encoding
is really needed.
2005-08-17 04:26:32 -04:00
bar@mysql.com
2df945d87b
Bug#8610: The ucs2_turkish_ci collation fails with upper('i')
...
UPPER/LOWER now can return a string with different length.
mi_test1.c:
Adding new arguments.
Many files:
Changeing caseup/casedn to return a result with different
length than argument.
sql_string.h:
Removing unused method,
mysql_priv.h:
Removing unused method
2005-06-06 16:54:15 +05:00
bar@noter.(none)
153b928c10
Bug#9509 Optimizer: wrong result after AND with latin1_german2_ci
...
We cannot propagate constants with tricky collations.
2005-05-05 21:13:57 +05:00
bar@mysql.com
8828884f4c
CSC#4385: slow sorting for UTF8 large table:
...
my_strnxfrm_utf8 now requires 2 bytes per character
in filesort key, instead of 3 bytes per character.
Shorter filesort keys make sorting faster.
2005-01-26 16:34:09 +04:00
bar@noter.intranet.mysql.r18.ru
362de9467c
Incorporating new faster string->number converter functions
...
into MY_CHARSET_INFO structure.
2004-09-25 15:29:33 +05:00
bar@mysql.com
501954ddb5
Bug #3453 MySQL output formatting in multibyte character sets
2004-09-09 18:21:31 +05:00
bar@mysql.com
f81edf4afd
A new function to meassure terminal screen cells number for a string.
2004-08-25 11:39:43 +05:00
bar@mysql.com
1cd108ff97
Many files:
...
LIKE crashed mysqld for binary collations in some cases
2004-08-18 12:07:54 +05:00
bar@mysql.com
cbd3e61c8d
Unicode collation algorithm: contraction support.
...
E.g. 'Ch' is treated as a separate letter in Czech,
not as a combination of C+h.
2004-06-12 20:36:58 +05:00
bar@mysql.com
f8b15e8bb6
Initialize max_sort_char only if a character set is requested.
2004-06-11 17:50:20 +05:00
bar@mysql.com
c64d93b274
Allocate memory when a character set is requested:
...
- For simple character sets: from_uni convertion table.
- For UCA: alternative weight arrays.
Use mbminlen instead of MY_CS_NONTEXT
2004-06-11 16:29:16 +05:00
bar@mysql.com
34d413a6a0
Optimization to use less memory.
2004-06-10 19:10:21 +05:00
bar@bar.intranet.mysql.r18.ru
8962ed3c7d
WL#916: Unicode collations for some languages
2004-06-08 17:56:15 +05:00
bar@bar.intranet.mysql.r18.ru
391d5629f6
Preparation for user-defined Unicode collations:
...
weights data now comes from a static variables
but from the charset structure.
2004-05-25 17:40:20 +05:00
bar@bar.intranet.mysql.r18.ru
fc17aad767
min_sort_char was added, for the future UCA implementation.
...
UCS2 now has its own my_like_range function.
2004-03-19 10:00:46 +04:00
monty@mysql.com
e9315f984d
Changed wellformedlen to well_formed_len
...
Fixed that blobs >16M can be inserted/updated
Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
2004-02-17 01:35:17 +02:00
bar@bar.intranet.mysql.r18.ru
d13ad0822e
Problem fix:
...
http://bugs.mysql.com/bug.php?id=2366
Wrong utf8 behaviour when data is trancated
2004-02-06 16:59:25 +04:00
bar@bar.intranet.mysql.r18.ru
f802ec0215
UCS-2 aligning 0xAA -> 0x00AA
2004-01-19 19:16:30 +04:00
monty@mysql.com
ca953d5e7d
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/my/mysql-4.1
2003-12-08 12:26:10 +02:00
monty@mysql.com
e8aef44349
Portability fixes for Windows
2003-12-08 12:25:37 +02:00
serg@serg.mylan
b2e6b36487
fix for my_mbcharlen(charset, c) to return 1 for single-byte characters
...
(isn't it obvious ?)
2003-12-06 19:05:26 +01:00
bar@bar.mysql.r18.ru
e0a0790ebb
Fixed that multibyte charsets didn't honor multibyte
...
sequence boundaries in functions LIKE and LOCATE in
the case of "binary" collation. Comparison was done
like if the strings were just a binary strings without
character set assumption.
2003-09-19 15:18:19 +05:00
bar@bar.mysql.r18.ru
83c6946232
Bug fix:
...
http://bugs.mysql.com/bug.php?id=1264
2003-09-16 15:43:17 +05:00
bar@bar.mysql.r18.ru
762ca8b6f8
Fix strnxfrm_multiplye from 0 to 1 for charsets that do not use strnxfrm
2003-08-18 17:24:50 +05:00
bar@bar.mysql.r18.ru
78c7d40986
BINARY collations for every character set
2003-05-23 18:39:55 +05:00
bar@bar.mysql.r18.ru
8192d169a2
CHARSET_INFO structure reorganization for easier maintainance
2003-05-23 17:45:52 +05:00
bar@bar.mysql.r18.ru
2b1e1f6494
Variables were rename, binary collation names were added
...
Fixed that SHOW CHARACTER SET displayed non-dynamic charsets even if they were not really compiled
2003-05-22 17:20:19 +05:00
bar@bar.mysql.r18.ru
11355b6795
All collation names are now fit into convension
2003-04-07 18:49:56 +05:00
bar@bar.mysql.r18.ru
ca1a736296
mbcharlen() is now used instead of ismbhead(). The last one has been removed.
2003-04-01 15:52:09 +05:00
bar@bar.mysql.r18.ru
0002beb7a4
my_strncasecmp() is not used anymore. Use my_strncoll() instead.
2003-04-01 14:17:28 +05:00
bar@bar.mysql.r18.ru
5b50426f8f
Some optimization in CHARSET_INFO:
...
We don't need separate hash_sort() and hash_caseup()
We don't need tosort(). strnxfrm will do the same.
2003-04-01 12:45:16 +05:00
bar@bar.mysql.r18.ru
b009386fa4
Every charset now have its own parser state arrays
2003-03-14 18:08:12 +04:00
bar@bar.mysql.r18.ru
f5d6b4952f
New fields in CHARSET_INFO structure to optimize searching for
...
binary and primary collations in the future
2003-03-05 16:43:10 +04:00
bar@bar.mysql.r18.ru
24be8669a0
New functions in CHARSET_INFO structure
2003-01-31 16:22:22 +04:00
bar@bar.mysql.r18.ru
52c053ca9b
New CHARSET_INFO function to compare strings regardless to trailing spaces
2003-01-31 13:48:35 +04:00
bar@bar.mysql.r18.ru
a292d4f632
New "fill" function in charset_info_st structure
2003-01-28 14:58:06 +04:00
bar@bar.mysql.r18.ru
b92ed69491
wb_wc and wc_mb now checks length inside
2003-01-27 16:46:03 +04:00
bar@bar.mysql.r18.ru
2a41e291dc
New scan() function in CHARSET_INFO structure (not used yet)
2003-01-17 18:14:54 +04:00
bar@bar.mysql.r18.ru
5743f94b57
All charsets now have strnxfrm.
...
Some function names have been renamed to be more self-descriptive
2003-01-15 18:06:07 +04:00
bar@bar.mysql.r18.ru
40c61f5763
Many files:
...
PRIMARY flag for built-in charsets
2003-01-05 16:44:39 +04:00
bar@bar.mysql.r18.ru
a172e5ad2a
Some changes to separate charset and collation terms
2003-01-04 14:12:20 +04:00
bar@bar.mysql.r18.ru
a345447ad0
Preparing for charset dependant int10_to_str
2002-12-11 12:30:05 +04:00
bar@bar.mysql.r18.ru
61141a30ee
Preparing to use better string-to-number functions to avoid c_ptr() call,
...
wich is slower and is not ucs2 compatible
2002-11-27 15:47:39 +04:00
bar@bar.mysql.r18.ru
41554da7ff
move like_range into CHARSET_INFO structure
2002-11-15 11:44:23 +04:00
bar@bar.mysql.r18.ru
237e2ca001
New wildcmp() function in CHARSET_INFO structure
2002-11-14 16:07:29 +04:00
bar@bar.mysql.r18.ru
ae7d6838b2
Preparing to embed string to number conversion functions into charset structure
2002-11-13 17:13:29 +04:00