gluh@gluh.mysql.r18.ru
b4e78f39c2
The function should exit from loop on invalid byte sequence
2005-01-13 16:53:10 +03:00
monty@mysql.com
314cf993c6
Fixed memory reference errors found by valgrind
2005-01-12 03:38:53 +02:00
monty@mysql.com
77207d19f2
Merge with new VARCHAR code
2004-12-06 19:18:35 +02:00
monty@mysql.com
67ce247965
Add support for up to VARCHAR (size up to 65535)
...
Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART
Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors
Added support for VARCHAR KEYS to heap
Removed support for ISAM
Now only long VARCHAR columns are changed to TEXT on demand (not CHAR)
Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
2004-12-06 02:00:37 +02:00
bar@mysql.com
f9d1a5a1c6
Incorrect response with partial utf8 index
2004-11-19 14:25:25 +04: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
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@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
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
f81edf4afd
A new function to meassure terminal screen cells number for a string.
2004-08-25 11:39:43 +05: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
035e03c1f6
merged
2004-06-11 20:55:08 +02: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
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
21f1bca789
Portability fixes
...
Fixed wrong number of warnings/duplicates for machines with high-byte-first
2004-05-19 05:09:10 +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
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
bar@bar.intranet.mysql.r18.ru
5219fc269b
http://bugs.mysql.com/bug.php?id=2368
...
Multibyte charsets do not check that incoming data is well-formed
2004-02-10 15:42:46 +04: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
b63b7bff84
Fic for Bug 2367: INSERT() behaviour is different for different charsets.
2004-01-15 13:27:20 +04: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
d1ae1a1f88
ctype-mb.c:
...
Stupid typo. Led to compilation failure with non-gcc compilers.
2003-10-01 11:04:19 +05:00
lenz@kallisto.local
58647aa92e
- fixed yet another C++ comment inside a .c file
2003-09-29 22:45:00 +02: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
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
lenz@mysql.com
113e499b43
- Changed C++-style comments to C-style comments to make IBM compiler happy
2003-03-06 13:51:37 +01:00
bar@bar.mysql.r18.ru
4f62ac93f0
More use of new CHARSET_INFO functions and two bug fixes
2003-01-31 17:08:14 +04:00
bar@bar.mysql.r18.ru
24be8669a0
New functions in CHARSET_INFO structure
2003-01-31 16:22:22 +04:00
monty@mashka.mysql.fi
25c393a12e
Portability fixes (for windows)
...
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02: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
237e2ca001
New wildcmp() function in CHARSET_INFO structure
2002-11-14 16:07:29 +04:00
bar@bar.mysql.r18.ru
34d4c4f462
Some speed improvements
2002-08-15 16:42:54 +05:00
bar@gw.udmsearch.izhnet.ru
1ebab2be72
Configure.in/Makefile.in charset related things are now earier to maintain
...
Fixes in charset related C++ code
2002-03-19 20:03:10 +04:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769
New ctype functions/macros to support many charsets at a time
2002-03-12 21:37:58 +04:00