9f22beb242
Fix for bug#2972 Problem the the CONV() function
2004-03-15 19:18:30 +04:00
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
050af89dd8
Merge with public tree
2004-02-16 10:31:05 +02:00
f43093ec0e
After merge fixes
...
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
2004-02-16 10:03:25 +02:00
01c2ca5b8a
Merge bk-internal:/home/bk/mysql-4.1/
...
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-02-13 15:30:00 +01:00
5914e5705c
my_atof is deleted
...
strtod from mit-threads is restored and cleaned up
2004-02-13 15:27:21 +01:00
cc78e2d97a
Ensure that result from date_format() is binary
...
Removed warnings from test suite
2004-02-09 13:59:41 +01:00
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
f231d9826b
just tried to find all 'skipp' and replace it with 'skip'.
2004-02-02 20:25:39 +04:00
f944fd4a65
merged
2003-10-21 11:58:43 +02:00
c60ef8160f
FULLTEXT: correct charset support (UTF included, UCS2 - not)
...
code cleanup
2003-10-20 15:53:48 +02:00
a001b71f20
ctype-simple.c, ctype-mb.c:
...
Win compilation problem fix
ctype-bin.c:
Win compilation problem fix
,
,
m_ctype.h:
Win compilation problem fix
,
2003-10-15 17:34:28 +05:00
9b4b9f91de
CHARSET_INFO::instr was extended to return more substring match results:
...
- offset of substr begining
- offset of substr end
- number of characters (MB compatible)
2003-09-25 13:35:21 +05:00
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
83c6946232
Bug fix:
...
http://bugs.mysql.com/bug.php?id=1264
2003-09-16 15:43:17 +05:00
8192d169a2
CHARSET_INFO structure reorganization for easier maintainance
2003-05-23 17:45:52 +05:00
0002beb7a4
my_strncasecmp() is not used anymore. Use my_strncoll() instead.
2003-04-01 14:17:28 +05:00
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
a916a03916
Fixes to avoid errors from valgrind
...
Fixed problem with 'wrong packet number' in union
2003-03-18 11:17:48 +02:00
24be8669a0
New functions in CHARSET_INFO structure
2003-01-31 16:22:22 +04:00
52c053ca9b
New CHARSET_INFO function to compare strings regardless to trailing spaces
2003-01-31 13:48:35 +04:00
0a48aeb2c1
ctype-simple.c:
...
CC comments -> C comments
ctype-latin1_de.c:
like_range was the same with like_range_simple
so I've removed duplicated code
2003-01-31 11:43:46 +04:00
a292d4f632
New "fill" function in charset_info_st structure
2003-01-28 14:58:06 +04:00
b92ed69491
wb_wc and wc_mb now checks length inside
2003-01-27 16:46:03 +04:00
4a5ecc92be
merge
2003-01-17 16:45:17 +02:00
762cb225c9
Changed my_strntoxxx functions to clear error number on start
...
Allow one to change ANSI_QUOTES mode per thread and on the fly
2003-01-17 16:33:54 +02:00
2a41e291dc
New scan() function in CHARSET_INFO structure (not used yet)
2003-01-17 18:14:54 +04:00
72fcf5e4e7
Use always base "10" to remove base guesser in strntoul() implementation
2003-01-17 13:17:22 +04:00
4f9d82700d
strnto family functions now return error in a new argument
2003-01-16 17:17:07 +04:00
4b9d29c83b
strnxfrm() for simple and binary charsets fixes
2003-01-16 15:20:38 +04:00
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
7e9b27eaf5
Updates for multi-byte character sets
...
(Note: test 'union' fails, but Sanja promised to fix this)
2003-01-14 14:28:36 +02:00
4e405fa200
koi8_ru -> koi8_r
...
charset.conf -> charset.xml
bug fix
2003-01-05 17:34:24 +04:00
2204f764ce
sql/sql_string.cc@1.39
...
New num->str functions
strings/ctype-simple.c@1.16
New num->str functions
strings/ctype-utf8.c@1.18
New num->str functions
2002-12-11 15:26:49 +04:00
a345447ad0
Preparing for charset dependant int10_to_str
2002-12-11 12:30:05 +04:00
847ea719b6
New functions
2002-11-28 11:04:26 +04:00
95930f129e
new string-to-number functions
2002-11-27 18:08:31 +04:00
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
41554da7ff
move like_range into CHARSET_INFO structure
2002-11-15 11:44:23 +04:00
237e2ca001
New wildcmp() function in CHARSET_INFO structure
2002-11-14 16:07:29 +04:00
ae7d6838b2
Preparing to embed string to number conversion functions into charset structure
2002-11-13 17:13:29 +04:00
9d249321d8
my_snprintf() doesn't support things like %04X so use vsprintf() instead
2002-11-13 15:00:25 +04:00
abd3427150
New field snprintf() in CHARSET_INFO structure
2002-11-10 16:14:39 +04:00
a0dd5febfc
Move hash_sort and hash_caseup into CHARSET_INFO for all charsets
2002-10-10 16:52:22 +05:00
954a47b95a
Simple charsets now have strncoll() field too
2002-10-09 15:40:57 +05:00
d69250a969
Fixes and code cleanups after merge with 4.0.3
...
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
34d4c4f462
Some speed improvements
2002-08-15 16:42:54 +05:00
0300bac68a
charset<->unicode conversion tables and routines
...
some warnings fixes
2002-03-29 16:06:06 +04:00
b37ce8e769
New ctype functions/macros to support many charsets at a time
2002-03-12 21:37:58 +04:00