diff options
author | unknown <serg@serg.mylan> | 2003-10-20 15:53:48 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-10-20 15:53:48 +0200 |
commit | 454e3bde2271279007b141185797f287ff50524d (patch) | |
tree | ff0f9b71c43cfc4ed4e2fa91a8398677dae7377a /strings/ctype-utf8.c | |
parent | e4e395fbf8e623d4bb04252285688ad271378da2 (diff) | |
download | mariadb-git-454e3bde2271279007b141185797f287ff50524d.tar.gz |
FULLTEXT: correct charset support (UTF included, UCS2 - not)
code cleanup
include/m_ctype.h:
my_mbcharlen_8bit() { return 1 }
mysql-test/r/fulltext.result:
fulltext on UTF
mysql-test/t/fulltext.test:
fulltext on UTF
sql/item_cmpfunc.h:
cleanup
sql/sql_table.cc:
FULLTEXT: UCS2 is not allowed
sql/sql_yacc.yy:
FULLTEXT: code cleanup
strings/ctype-bin.c:
my_mbcharlen_8bit() { return 1 }
strings/ctype-latin1.c:
my_mbcharlen_8bit() { return 1 }
strings/ctype-simple.c:
my_mbcharlen_8bit() { return 1 }
strings/ctype-tis620.c:
my_mbcharlen_8bit() { return 1 }
strings/ctype-utf8.c:
hack: (to be fixed properly later) all multi-byte sequences are considered isalpha() now
Diffstat (limited to 'strings/ctype-utf8.c')
-rw-r--r-- | strings/ctype-utf8.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/strings/ctype-utf8.c b/strings/ctype-utf8.c index 3ede1aa26f6..b5716c53ea2 100644 --- a/strings/ctype-utf8.c +++ b/strings/ctype-utf8.c @@ -1540,10 +1540,10 @@ static uchar ctype_utf8[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 + 0, 0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0 }; static uchar to_lower_utf8[] = { |