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
fc7ba0885e
Move UCA language specific definitions into ctype-ucs.c.
2004-06-11 19:16:06 +05:00
bar@mysql.com
53a7bd5931
charset.c:
...
Reuse some code between simple and UCA collations.
2004-06-11 18:25:50 +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@mysql.com
1b76aa077f
charset.c:
...
Fix to be ANSI C complient
,
2004-06-09 12:33:30 +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
3f556025a7
charset.c:
...
Typo fix.
Thanks Vladimir Kolpakov who noticed it.
2004-06-04 09:07:46 +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
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
konstantin@mysql.com
f207b33a7b
Support for character set conversion in binary protocol: another go
...
after Monty's review.
- Item_param was rewritten.
- it turns out that we can't convert string data to character set of
connection on the fly, because they first should be written to the binary
log.
To support efficient conversion we need to rewrite prepared statements
binlogging code first.
2004-05-25 02:03:49 +04:00
sergefp@mysql.com
cc2eb9d5c3
Renamed MY_LEX_COLON to MY_LEX_SEMICOLON (at Serg's request)
2004-04-28 01:49:05 +04:00
monty@mishka.local
4999203fbd
Fixed results for previous patch
...
Ensure that mysqldump doesn't give an error about missing Index.xml when it's not needed
2004-04-27 17:32:40 +03: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
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
6bfede9639
Added SQL_SELECT::cleanup() to make it easier to reuse SQL_SELECT item's for sub selects. Needed for proper fix for bug #2479 .
...
Added 'select_to_file' class to be able to merge identical code for select_export and select_dump
2004-02-05 10:22:08 +01:00
monty@mysql.com
b078d2df64
merge
2004-01-20 00:15:01 +01:00
monty@mysql.com
0eb6070068
Code cleanup
...
Fixed bug in optimizer where it didn't choose right table order in some cases
2004-01-19 23:51:17 +01:00
bar@bar.intranet.mysql.r18.ru
f802ec0215
UCS-2 aligning 0xAA -> 0x00AA
2004-01-19 19:16:30 +04:00
bar@bar.intranet.mysql.r18.ru
db83208d36
charset.c:
...
http://bugs.mysql.com/bug.php?id=2386
Index.xml file larger than 1024*16
Fix for the above bug.
2004-01-15 17:07:29 +04:00
bar@bar.intranet.mysql.r18.ru
042fe0bed4
charset.c:
...
Fixed: client crashed when there are no Index.xml file.
2004-01-12 14:31:04 +04:00
bar@bar.intranet.mysql.r18.ru
10f0bf3507
charset.c:
...
he mysqld server crashes if issued a command select convert(...)
with a
non-compiled character set:
2003-12-24 16:04:26 +04:00
monty@mysql.com
031390a9a4
Fixes after merge with 4.0
...
Cleaned up embedded library access and query cache handling
Changed min stack size to 128K (to allow longer MyISAM keys)
Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
2003-12-19 16:25:50 +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
monty@mishka.mysql.fi
a5c83b05bd
Move init_compiled_charsets to own file
...
Remove dependency of charsets (in my_init) to get smaller binaries when charsets are not used
Simple code cleanup
2003-10-06 22:56:34 +03:00
bar@bar.mysql.r18.ru
a5cc38fa01
charset.c:
...
comp_err failed to compile error message file when a
character set was not incompiled.
2003-09-23 10:41:58 +05:00
bar@bar.mysql.r18.ru
99e2a82168
Bug 1350 fix
2003-09-22 11:11:36 +05: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
731b8392ee
Charset number is now stored into error.sys by comp_err and loaded by mysqld.
2003-09-17 16:22:58 +05:00
serg@serg.mylan
3ca302dbac
bug #715 : SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0' => syntax error
2003-07-20 12:26:18 +02:00
monty@narttu.mysql.fi
a1034db4b9
Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1 master/slave will now use the 4.1 protocol
...
Fixed wrong value for SQLSTATE_LENGTH
Added CLIENT_REMEMBER_OPTIONS to mysql_real_connect()
Changed mysql_port and mysql_unix_port to mysqld_xxxx
2003-06-14 11:37:42 +03:00
bar@bar.mysql.r18.ru
31d0d44919
--with-charset was not up to date
...
ctype_ucs2 and ctype_ujis were skipped in mistake
2003-05-26 20:22:23 +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
4b3c1364af
charset.c:
...
Bug fix: if latin2_czech_ci is not compiled, loader din't load other latin2 collations
2003-05-23 14:24: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
8d52377a5c
Some SHOW VARIABLES have been renamed:
...
collation_client -> character_set_client
collation_results -> character_set_results
character_set -> character_set_server
SET NAMES now doesn't start client->server conversion
SET CHARACTER SET now starts both client->server and server->client conversion
2003-05-21 17:44:12 +05:00
bar@bar.mysql.r18.ru
7f771ce2e1
"character_sets" has been removed from SHOW VARIABLES. Use SHOW CHARACTER SET instead.
...
"character_set_system" has been added to display the system character set
2003-05-21 13:58:30 +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
74a7d23aab
charset.c:
...
strcasecmp -> my_strcasecmp
This fix compilation problem on windows
2003-03-28 19:37:25 +04:00
bar@bar.mysql.r18.ru
4e06f1f5bd
German Phone book collation is always compiled
...
Some collation names have been renamed
2003-03-26 13:27:19 +04:00
bar@bar.mysql.r18.ru
0f7c02f5fa
SHOW CHARACTER SET now can display comments
...
Low case letters are used in charset names
2003-03-25 16:12:49 +04:00
bar@bar.mysql.r18.ru
6814c8d36a
SELECT N'string'
2003-03-20 22:01:03 +04:00
bar@bar.mysql.r18.ru
0137c812dc
SHOW CREATE TABLE didn't display field names in the proper charset
2003-03-18 13:42:45 +04:00
bar@bar.mysql.r18.ru
04db86f22a
2003-03-17 21:56:34 +04:00
mysql@home.(none)
c6efa7a8b7
New function my_charset_same()
2003-03-16 17:19:24 +04:00
root@home.(none)
5c6c54c09a
system_charset_info has been moved to /sql directory
...
and isn't used in libraries any longer
2003-03-16 12:30:10 +04:00