bar@mysql.com
637ec56206
ctype-big5.c:
...
ctype-cp932.c:
ctype-gbk.c:
ctype-mb.c:
ctype-simple.c:
ctype-sjis.c:
ctype-ucs2.c:
ctype-ujis.c:
ctype-utf8.c:
Adding explicit cast to return type
in pointer substructions to avoid
warnings from some compilers.
2005-07-26 16:38:10 +05:00
bar@mysql.com
d563de7f86
ctype_innodb_like.inc:
...
New BitKeeper file ``mysql-test/include/ctype_innodb_like.inc''
Many files:
bug#11650: LIKE pattern matching using prefix index doesn't return correct result
min and max values were too long in the case of prefix key.
Fix my_like_range functions not to exceed prefix length.
ctype_innodb_like.inc:
new file
2005-07-06 17:16:22 +05:00
bar@mysql.com
0134a2b286
Adding a new parameter for well_formed_length to
...
return error. We'll use it for better warnign reporting.
2005-04-06 11:53:15 +05:00
monty@mysql.com
253bfcf783
Fixed wrong memory references found by purify
...
(No really critical errors found, but a few possible wrong results)
2005-02-28 11:59:46 +02:00
monty@mysql.com
e2dc9b4099
Backport my_strntod() from 5.0
...
Change string->float conversion to delay division as long as possible.
This gives us more exact integer->float conversion for numbers of type '123.45E+02' (Bug #7740 )
2005-02-22 12:51:23 +02:00
monty@mysql.com
b87e0c52a7
Proper fix for comparision with ' '
...
(Bug #7788 "Table is full" occurs during a multitable update")
2005-02-01 16:27:08 +02:00
jimw@mysql.com
691cd6c50d
Fix error in string comparisons with CHAR(31) against the space-padding
...
of strings of unequal length. (Bug #8134 )
2005-01-28 17:18:35 -08:00
bar@mysql.com
e3d6e6736b
bug#7284: strnxfrm returns different results for equal strings
2005-01-13 18:12:04 +04: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
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
f81edf4afd
A new function to meassure terminal screen cells number for a string.
2004-08-25 11:39:43 +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
serg@serg.mylan
035e03c1f6
merged
2004-06-11 20:55:08 +02: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
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
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
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
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
monty@mysql.com
050af89dd8
Merge with public tree
2004-02-16 10:31:05 +02:00
monty@mysql.com
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
serg@serg.mylan
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
serg@serg.mylan
5914e5705c
my_atof is deleted
...
strtod from mit-threads is restored and cleaned up
2004-02-13 15:27:21 +01:00
monty@mysql.com
cc78e2d97a
Ensure that result from date_format() is binary
...
Removed warnings from test suite
2004-02-09 13:59:41 +01: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
ram@gw.mysql.r18.ru
f231d9826b
just tried to find all 'skipp' and replace it with 'skip'.
2004-02-02 20:25:39 +04:00
serg@serg.mylan
f944fd4a65
merged
2003-10-21 11:58:43 +02:00
serg@serg.mylan
c60ef8160f
FULLTEXT: correct charset support (UTF included, UCS2 - not)
...
code cleanup
2003-10-20 15:53:48 +02:00
bar@bar.mysql.r18.ru
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
bar@bar.mysql.r18.ru
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
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
8192d169a2
CHARSET_INFO structure reorganization for easier maintainance
2003-05-23 17:45:52 +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
monty@narttu.mysql.fi
a916a03916
Fixes to avoid errors from valgrind
...
Fixed problem with 'wrong packet number' in union
2003-03-18 11:17:48 +02: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
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
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
monty@mashka.mysql.fi
4a5ecc92be
merge
2003-01-17 16:45:17 +02:00
monty@mashka.mysql.fi
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
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
72fcf5e4e7
Use always base "10" to remove base guesser in strntoul() implementation
2003-01-17 13:17:22 +04:00
bar@bar.mysql.r18.ru
4f9d82700d
strnto family functions now return error in a new argument
2003-01-16 17:17:07 +04:00