bar@mysql.com
16113e812a
uca-dump.c:
...
Use less wide spaces on the primary level,
to avoid big diff for ctype-uca.c.
2004-11-24 13:28:48 +04:00
bar@mysql.com
9f6d5a02ca
uca-dump.c:
...
Better variable names in dump.
Dump tertiary weight in reverse order, to sort upper letters before their lower counterparts.
2004-11-22 18:17:41 +04:00
bar@mysql.com
3082312fa8
uca-dump.c:
...
Mofidications to dump secondary and tertiary weigthts
And some minor improvements
2004-11-22 13:02:27 +04:00
bar@mysql.com
e3b94d4ef5
Bug #6737 : REGEXP gives wrong result with case sensitive collation:
...
- A new flag MY_CS_CSSORT was introduced for case sensitivity.
- Item_func_regexp doesn't substiture ICASE not only
for binary collations but for case sensitive collations as well.
2004-11-22 11:58:40 +04:00
bar@mysql.com
f9d1a5a1c6
Incorrect response with partial utf8 index
2004-11-19 14:25:25 +04:00
bar@mysql.com
4e674084f6
ctype-tis620.c:
...
Space allocated didn't take in account trailing '\0' bytes.
2004-11-16 16:45:47 +04:00
bar@mysql.com
8a2ef0a2ca
Bug#6608: MySQL server crash in some query with tis620 character set.
...
The bug was that the function allocates 'a', then changes the value
of 'a' with the operator ++, and then tries to free 'a'!
2004-11-15 21:26:16 +04:00
bar@mysql.com
bc6bbebbc8
ctype_sjis.result, ctype_sjis.test, ctype-sjis.c:
...
Bug #6223 Japanese half-width kana characters get truncated. Bytes 0xA1..0xDF were not treated as a single byte sequence in a mistake.
2004-11-02 09:00:46 +04:00
bar@mysql.com
59571ecf8e
ctype-utf8.c:
...
Char is unsigned by defeault on some platforms. Cast t to a signed type.
2004-10-23 10:24:59 +05:00
monty@mysql.com
3afecef4df
Fix compiler warnings (detected by Intel's C++ compiler)
...
Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094 )
2004-10-22 18:44:51 +03:00
bar@mysql.com
701b646374
ctype-uca.c:
...
Optimization: move "space padding" code outside the loop
2004-10-21 19:17:04 +05:00
bar@mysql.com
90f81fb801
CHARSET_INFO.txt:
...
Typo.
2004-10-21 15:18:31 +05:00
bar@mysql.com
aec49dae4d
CHARSET_INFO.txt:
...
New comments about ctype[].
2004-10-21 15:11:01 +05:00
bar@mysql.com
e28976e0ef
Bug #5679 utf8_unicode_ci LIKE--trailing % doesn't equal zero characters
2004-10-21 14:48:37 +05:00
bar@mysql.com
e9fde8f54e
Allow cp932 characters to be stored in a SJIS column
2004-10-21 12:17:59 +05:00
bar@mysql.com
ed2a655a20
ctype-utf8.c:
...
A faster UTF8 null-terminated string implementation.
It is used for identifier comparison, so it's quite critical.
2004-10-20 18:07:59 +05:00
monty@mishka.local
7af65592c7
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mishka.local:/home/my/mysql-4.1
2004-10-20 02:55:03 +03:00
monty@mishka.local
04c23808a8
Review of all code pushed since last review
...
Simple optimzations and cleanups
Removed compiler warnings and fixed portability issues
Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
Fixes for purify
2004-10-20 01:28:42 +03:00
bar@mysql.com
fc13ab979f
CHARSET_INFO.txt:
...
minor fixes
2004-10-19 13:00:01 +05:00
bar@mysql.com
67c9fc985f
CHARSET_INFO.txt:
...
new file
2004-10-18 15:25:28 +05:00
bar@mysql.com
1596d46528
Bug #6040 can't retrieve records with umlaut characters in case insensitive manner
2004-10-18 15:23:24 +05:00
bar@mysql.com
96a731735c
ctype-mb.c:
...
Remove unnesessary code: use_mb is always TRUE for the multibyte charsets.
2004-10-18 13:32:30 +05:00
bar@mysql.com
e827839619
Bug #6019 SELECT tries to use too short prefix index on utf8 data
2004-10-14 16:36:29 +05:00
bar@noter.intranet.mysql.r18.ru
ef7bdbf4b8
Activating the new string->number conversion functions
2004-09-25 17:20:50 +05: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
737a0dbca1
ctype-ucs2.c:
...
Bug#5523 Test failure: 'ctype_uca'
Type cast should have been applied to shift and bit-and operation results, not to min_sort_char/max_sort_char before the operation.
2004-09-14 13:02:20 +05:00
bar@mysql.com
134b5c7d75
Persian collation, contibuted by Jody McIntyre
2004-09-13 12:07:01 +05:00
bell@sanja.is.com.ua
c6634707c4
Put Ramil patch to be able push me code (test suite already is included in query_cache.test)
2004-09-10 22:19:52 +03: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
09f681ba7b
Bug #5324 Bug in UCA collations with LIKE comparisons and INDEX
2004-09-06 20:04:22 +05:00
bar@mysql.com
3da2a24116
Bug #5397 : Crash with varchar binary and LIKE
2004-09-06 15:03:43 +05:00
serg@serg.mylan
49d49e2fcb
Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-08-30 16:32:10 +02:00
serg@serg.mylan
b60713c033
bug in my_strnncoll_utf8 (and friends) fixed
...
cleanups
better, charset-dependent, ft_max_len_for_sort value
2004-08-30 08:37:36 +02:00
joerg@mysql.com
36d93f402c
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/M41/mysql-4.1
2004-08-26 20:43:58 +02:00
joerg@mysql.com
10cf7f1f38
If the system has 64 bit "long", then "long long" does not add new
...
functionality. The existing code takes advantage of this when
"typedef"ing 'longlong' in 'my_global.h'. This holds for Alpha CPUs.
If the compiler then has prototypes for C99 functions 'strtoll()' and
'strtoull()' but no implementation, the existing code in 'strtoull.c'
collides with that prototype. These collisions are avoided now.
2004-08-26 17:30:53 +02:00
monty@mysql.com
ceba1429b7
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-08-26 18:27:33 +03:00
monty@mysql.com
ea687ba5da
Portability fixes
...
Fixed bug in end space handle for WHERE text_column="constant"
2004-08-26 18:26:38 +03:00
bar@mysql.com
9a6b76aa90
ctype-latin1.c:
...
Revert this change, it was done in a mistake.
2004-08-26 12:02:11 +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
766eb867da
utr11-dump.c:
...
new file
2004-08-25 10:15:46 +05:00
serg@serg.mylan
8f2d92c56a
manually merged
2004-08-24 17:24:23 +02:00
bar@mysql.com
2496e85b84
Bug#4521: unique key prefix interacts poorly with utf8.
...
Fix for binary collations for MyISAM and HEAP BTREE.
This patch also changes trailing spaces behaviour for
binary collations. Binary collations now have PAD
characteristic too.
2004-08-19 15:15:10 +05:00
serg@serg.mylan
3f2210c064
after merge fixes
2004-08-19 03:02:09 +02: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
0db8ff2eda
Bug#5005 collation cp852_bin makes server crash
...
ctype-simple.c:
Check that unicode map was loaded
cp852.xml:
Missing cp852_bin was added.
2004-08-12 10:46:16 +05:00
bar@mysql.com
a554f7756d
ctype_uca.test, ctype_uca.result, ctype-uca.c:
...
Slovak collation didn't work: typo fix in the tailoring rules
2004-08-11 18:06:20 +05:00
bar@mysql.com
d2076ae8d5
Minor fix: V is primary level, not U.
2004-07-08 15:19:26 +05:00
bar@mysql.com
aa679b62c0
Adding Roman (classical Latin) collation.
2004-07-07 15:20:23 +05:00
bar@mysql.com
a1aa3da96a
ctype-uca.c:
...
mbminlen was wrong for UTF8.
2004-06-30 14:45:08 +05:00
bar@deer.(none)
92833475e7
ctype-uca.c:
...
Code optimization to make it look better and work faster.
2004-06-18 11:00:51 +05:00
bar@deer.(none)
efc2936e5e
ctype-uca.c:
...
Fix for compilation failure when HAVE_CHARSET_ucs2 is not defined.
2004-06-18 10:24:31 +05:00
bar@mysql.com
f814d224f7
Critical fixes after review:
...
- mutex was unlocked before the end of the critical sesion,
- Portability issue: It's better to use (*alloc)(x) instead of alloc(x),
if alloc is a function passed as an argument.
- Use {} around if() block, to avoid possible problems with some Windows compilers.
2004-06-16 19:06:45 +05:00
bar@mysql.com
7fd6503dfc
ctype-uca.c:
...
Compilation failure fix.
2004-06-15 09:33:02 +05:00
bar@mysql.com
6342e06cb2
utf8 contraction fix.
...
Polish collation fix.
Slovak collation fix.
Testing all language orders.
2004-06-14 21:55:36 +05:00
bar@mysql.com
5dd2881f54
UTF8 UCA based collations.
2004-06-14 16:29:51 +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
serg@serg.mylan
035e03c1f6
merged
2004-06-11 20:55:08 +02:00
bar@mysql.com
fc7ba0885e
Move UCA language specific definitions into ctype-ucs.c.
2004-06-11 19:16:06 +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
konstantin@mysql.com
f08bbd1f12
assert.h needed for my_dbug.h now is included in my_dbug.h, where it for
...
some reason wasn't included before.
A lot of files cleaned up from #include <assert.h>
2004-06-10 23:58:39 +04:00
serg@serg.mylan
78fa465b92
bug#3964 and related issues: FTB problems with charsets where one byte can match many
...
correct prefix compare with my_strnncoll
2004-06-10 21:18:57 +02: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
b30b1ccc6a
Bug #3928 regexp [[:>:]] and UTF-8
2004-06-07 12:51:18 +05:00
paul@kite-hub.kitebird.com
2f0ca1ce42
Fix skipp -> skip once and for all.
...
(Note: This affects only comments, not variable names.)
2004-06-03 11:52:54 -05:00
bar@bar.intranet.mysql.r18.ru
23aee5621d
Unicode collations: WL#916
...
XML and "collation customization" language parsers.
2004-06-03 17:45:53 +05:00
monty@mysql.com
ccc4171276
Portability fix (using 'char' as argument to C functions may give warnings)
2004-05-28 02:36:43 +03:00
dlenev@brandersnatch.localdomain
03b705ff44
Made my_snprintf() behavior snprintf() compatible when printing %x arguments (it should
...
produce hex digits in lower case). (fixed version)
Replaced _dig_vec array with two _dig_vec_upper/_dig_vec_lower arrays.
Added extra argument to int2str function which controls case of digits you get.
Replaced lot of invocations of int2str for decimal radix with more optimized int10_to_str()
function.
Removed unused my_itoa/my_ltoa functions.
2004-05-27 17:54:40 +04:00
monty@mysql.com
7d8f8bc77b
Changed prototype of killed_ptr() to make it more portable
...
Applied patches for Netware
2004-05-26 19:12:49 +03: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
monty@mysql.com
56c0258536
After merge fixes
...
Remove compiler warnings
Update windows project files
2004-05-24 14:42:34 +03:00
monty@mysql.com
a4b0ec1ede
Merge with 4.0, mainly to get changes to windows project files
2004-05-20 00:54:52 +03:00
monty@mysql.com
86a966256b
Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
...
Ensured that all projects compile
Removed compiler warnings
Better setting of server_version variable.
Fix that make_win_src_distribution creates the privilege tables.
2004-05-19 16:38:12 +03:00
monty@mysql.com
21f1bca789
Portability fixes
...
Fixed wrong number of warnings/duplicates for machines with high-byte-first
2004-05-19 05:09:10 +03:00
serg@serg.mylan
0d3b083800
compatibility fix for hp-ux 64bit (hpux compiler) and sun 64-bit (sun forte)
2004-05-14 01:24:17 +02:00
monty@mysql.com
894e8fca6e
Portability fixes
2004-05-12 02:38:57 +03:00
monty@mysql.com
116f61c656
Don't automaticly generate a new key for a foreign key constraint if there is already a usable key.
...
Prefer not automatic keys before automatic keys. If there is two conf
2004-05-12 00:29:52 +03:00
bar@bar.intranet.mysql.r18.ru
f16dac0492
Use Windows code page 1252 instead of real ISO 8859-1
2004-05-11 13:32:01 +05:00
bar@bar.intranet.mysql.r18.ru
df8e3eac45
ctype-win1250ch.c, ctype-czech.c:
...
Czech collations were renamed to _cs
Index.xml:
Czech collation were renamed to _cs
2004-05-07 10:24:12 +05:00
monty@mysql.com
939ea71ecd
Portability fixes
...
Change strtoll -> my_strtoll10()
Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472 )
2004-05-07 01:43:17 +03:00
monty@mysql.com
d21d49a32a
Merge with 4.0.19
2004-05-05 17:05:24 +03:00
tim@sand.box
cfc019af6e
Fix typos that resulted in adding names to the global namespace that
...
were never defined. This potentially caused problems when trying to link
libmysqld with shared libraries.
2004-04-12 08:05:15 -06:00
monty@mysql.com
62fa4013ce
Don't enable HA_EXTRA_WRITE_CACHE if too few rows
...
Revert main parts of patch for online index builds. Should be done differently
Added support for %lx in my_snprintf()
2004-04-08 17:56:45 +03:00
bar@bar.intranet.mysql.r18.ru
f84f6d5cdb
Checking Thai sort order and trailing spaces handling
2004-03-29 16:38:38 +05:00
bar@bar.intranet.mysql.r18.ru
36e7f41d63
UTF8 now process space as PAD character correctly.
2004-03-26 18:14:39 +04:00
monty@mysql.com
eb91f7b478
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-03-25 15:05:42 +02:00
monty@mysql.com
ebc3b3afac
BTREE-indexes in HEAP tables can now be used to optimize ORDER BY
...
Don't read character set files if we are using only the default charset. In most cases the user will not anymore get a warning about missing character set files
Compare strings with space extend instead of space strip. Now the following comparisons holds: "a" == "a " and "a\t" < "a". (Bug #3152 ).
Note: Because of the above fix, one has to do a REPAIR on any table that has an ascii character < 32 last in a CHAR/VARCHAR/TEXT columns.
2004-03-25 15:05:01 +02:00
bar@bar.intranet.mysql.r18.ru
ed33257c6e
Bug #3290 [Ver]: Can't convert sjis&ujis half-width katakana correctly
...
UJIS part fix
2004-03-25 16:15:52 +04:00
bar@bar.intranet.mysql.r18.ru
1741cb88c0
#3290 : Can't convert sjis&ujis half-width katakana correctly
2004-03-25 14:29:56 +04:00
bar@bar.intranet.mysql.r18.ru
aa4cd447d2
ctype-uca.c:
...
Conditional compilation
2004-03-24 16:18:56 +04:00
bar@bar.intranet.mysql.r18.ru
3827fa5589
Unicode Collation Algorithm subset implementation
2004-03-24 16:16:08 +04:00
bar@bar.intranet.mysql.r18.ru
403001ff1c
uca-dump.c:
...
Don't dump default implicit weights
2004-03-23 18:29:07 +04:00
bar@bar.intranet.mysql.r18.ru
5c4b54f495
uca-dump.c:
...
new file
2004-03-22 15:14:12 +04: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
serg@serg.mylan
ceec63f18a
EOVERFLOW moved to my_base.h - it is used not only in strtod.c
...
error message corrected
2004-03-16 16:35:47 +01:00
monty@mysql.com
eb8a9e275f
Moved errno to strtod.c as one can use m_string.h without errno.h
2004-03-16 00:04:06 +02:00
monty@mysql.com
37390968e7
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-03-16 00:04:05 +02:00
gluh@gluh.mysql.r18.ru
9f22beb242
Fix for bug#2972 Problem the the CONV() function
2004-03-15 19:18:30 +04:00
monty@mysql.com
9e8938cbae
merge & simple cleanup
2004-03-15 13:21:14 +02:00