Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
62402103
Commit
62402103
authored
19 years ago
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0
into mysql.com:/home/jimw/my/mysql-5.0-clean
parents
dd1e0fb8
00fd26ba
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
139 additions
and
13 deletions
+139
-13
configure.in
configure.in
+2
-1
include/config-netware.h
include/config-netware.h
+3
-0
include/m_ctype.h
include/m_ctype.h
+1
-0
innobase/srv/srv0start.c
innobase/srv/srv0start.c
+2
-1
mysql-test/lib/mtr_misc.pl
mysql-test/lib/mtr_misc.pl
+9
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-1
mysql-test/r/ctype_cp932.result
mysql-test/r/ctype_cp932.result
+15
-0
mysql-test/t/ctype_cp932.test
mysql-test/t/ctype_cp932.test
+21
-0
sql/item.cc
sql/item.cc
+14
-7
sql/item.h
sql/item.h
+1
-0
sql/log_event.cc
sql/log_event.cc
+1
-1
sql/log_event.h
sql/log_event.h
+1
-1
sql/sql_prepare.cc
sql/sql_prepare.cc
+4
-1
strings/ctype-big5.c
strings/ctype-big5.c
+2
-0
strings/ctype-bin.c
strings/ctype-bin.c
+1
-0
strings/ctype-cp932.c
strings/ctype-cp932.c
+2
-0
strings/ctype-czech.c
strings/ctype-czech.c
+1
-0
strings/ctype-euc_kr.c
strings/ctype-euc_kr.c
+2
-0
strings/ctype-eucjpms.c
strings/ctype-eucjpms.c
+2
-0
strings/ctype-extra.c
strings/ctype-extra.c
+1
-0
strings/ctype-gb2312.c
strings/ctype-gb2312.c
+2
-0
strings/ctype-gbk.c
strings/ctype-gbk.c
+2
-0
strings/ctype-latin1.c
strings/ctype-latin1.c
+3
-0
strings/ctype-sjis.c
strings/ctype-sjis.c
+2
-0
strings/ctype-tis620.c
strings/ctype-tis620.c
+2
-0
strings/ctype-uca.c
strings/ctype-uca.c
+34
-0
strings/ctype-ucs2.c
strings/ctype-ucs2.c
+2
-0
strings/ctype-ujis.c
strings/ctype-ujis.c
+2
-0
strings/ctype-utf8.c
strings/ctype-utf8.c
+3
-0
strings/ctype-win1250ch.c
strings/ctype-win1250ch.c
+1
-0
No files found.
configure.in
View file @
62402103
...
...
@@ -5,7 +5,8 @@ AC_PREREQ(2.52)dnl Minimum Autoconf version required.
AC_INIT
(
sql/mysqld.cc
)
AC_CANONICAL_SYSTEM
# Don't forget to also update the NDB lines below.
# The Docs Makefile.am parses this line!
# remember to also change ndb version below and update version.c in ndb
AM_INIT_AUTOMAKE
(
mysql, 5.0.12-beta
)
AM_CONFIG_HEADER
(
config.h
)
...
...
This diff is collapsed.
Click to expand it.
include/config-netware.h
View file @
62402103
...
...
@@ -53,6 +53,7 @@ extern "C" {
#define HAVE_PTHREAD_YIELD_ZERO_ARG 1
#define HAVE_BROKEN_REALPATH 1
/* changes made to make use of LibC-June-2004 for building purpose */
#undef HAVE_POSIX_SIGNALS
#undef HAVE_PTHREAD_ATTR_SETSCOPE
#undef HAVE_ALLOC_A
...
...
@@ -62,6 +63,8 @@ extern "C" {
#undef HAVE_PTHREAD_SETSCHEDPARAM
#undef HAVE_READLINK
#undef HAVE_STPCPY
/* changes end */
/* no libc crypt() function */
#ifdef HAVE_OPENSSL
#define HAVE_CRYPT 1
...
...
This diff is collapsed.
Click to expand it.
include/m_ctype.h
View file @
62402103
...
...
@@ -231,6 +231,7 @@ typedef struct charset_info_st
uint
mbmaxlen
;
uint16
min_sort_char
;
uint16
max_sort_char
;
/* For LIKE optimization */
my_bool
escape_with_backslash_is_dangerous
;
MY_CHARSET_HANDLER
*
cset
;
MY_COLLATION_HANDLER
*
coll
;
...
...
This diff is collapsed.
Click to expand it.
innobase/srv/srv0start.c
View file @
62402103
...
...
@@ -1054,7 +1054,8 @@ innobase_start_or_create_for_mysql(void)
fprintf
(
stderr
,
"InnoDB: Error: You have specified innodb_buffer_pool_awe_mem_mb
\n
"
"InnoDB: in my.cnf, but AWE can only be used in Windows 2000 and later.
\n
"
);
"InnoDB: in my.cnf, but AWE can only be used in Windows 2000 and later.
\n
"
"InnoDB: To use AWE, InnoDB must be compiled with __WIN2000__ defined.
\n
"
);
return
(
DB_ERROR
);
}
...
...
This diff is collapsed.
Click to expand it.
mysql-test/lib/mtr_misc.pl
View file @
62402103
...
...
@@ -7,6 +7,7 @@
use
strict
;
sub
mtr_full_hostname
();
sub
mtr_short_hostname
();
sub
mtr_init_args
($);
sub
mtr_add_arg
($$);
sub
mtr_path_exists
(@);
...
...
@@ -21,6 +22,7 @@ sub mtr_exe_exists(@);
# We want the fully qualified host name and hostname() may have returned
# only the short name. So we use the resolver to find out.
# Note that this might fail on some platforms
sub
mtr_full_hostname
()
{
...
...
@@ -35,6 +37,13 @@ sub mtr_full_hostname () {
return
$hostname
;
}
sub
mtr_short_hostname
()
{
my
$hostname
=
hostname
();
$hostname
=~
s/\..+$//
;
return
$hostname
;
}
# FIXME move to own lib
sub
mtr_init_args
($)
{
...
...
This diff is collapsed.
Click to expand it.
mysql-test/mysql-test-run.pl
View file @
62402103
...
...
@@ -414,7 +414,7 @@ sub initial_setup () {
$opt_source_dist
=
1
;
}
$glob_hostname
=
mtr_
full
_hostname
();
$glob_hostname
=
mtr_
short
_hostname
();
# 'basedir' is always parent of "mysql-test" directory
$glob_mysql_test_dir
=
cwd
();
...
...
This diff is collapsed.
Click to expand it.
mysql-test/r/ctype_cp932.result
View file @
62402103
...
...
@@ -11315,6 +11315,21 @@ DROP TABLE t1;
DROP TABLE t2;
DROP TABLE t3;
DROP TABLE t4;
RESET MASTER;
CREATE TABLE t1(f1 blob);
PREPARE stmt1 FROM 'INSERT INTO t1 VALUES(?)';
SET @var1= x'8300';
EXECUTE stmt1 USING @var1;
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 4 Format_desc 1 98 Server ver: 5.0.12-beta-debug-log, Binlog ver: 4
master-bin.000001 98 Query 1 185 use `test`; CREATE TABLE t1(f1 blob)
master-bin.000001 185 User var 1 224 @`var1`=_binary 0x8300 COLLATE binary
master-bin.000001 224 Query 1 317 use `test`; INSERT INTO t1 VALUES(@'var1')
SELECT HEX(f1) FROM t1;
HEX(f1)
8300
DROP table t1;
SET collation_connection='cp932_japanese_ci';
create table t1 select repeat('a',4000) a;
delete from t1;
...
...
This diff is collapsed.
Click to expand it.
mysql-test/t/ctype_cp932.test
View file @
62402103
...
...
@@ -398,6 +398,27 @@ DROP TABLE t2;
DROP
TABLE
t3
;
DROP
TABLE
t4
;
# Test prepared statement with 0x8300 sequence in parameter while
# running with cp932 client character set.
RESET
MASTER
;
CREATE
TABLE
t1
(
f1
blob
);
PREPARE
stmt1
FROM
'INSERT INTO t1 VALUES(?)'
;
SET
@
var1
=
x
'8300'
;
# TODO: Note that this doesn't actually test the code which was added for
# bug#11338 because this syntax for prepared statements causes the PS to
# be replicated differently than if we executed the PS from C or Java.
# Using this syntax, variable names are inserted into the binlog instead
# of values. The real goal of this test is to check the code that was
# added to Item_param::query_val_str() in order to do hex encoding of
# PS parameters when the client character set is cp932;
# Bug#11338 has an example java program which can be used to verify this
# code (and I have used it to test the fix) until there is some way to
# exercise this code from mysql-test-run.
EXECUTE
stmt1
USING
@
var1
;
SHOW
BINLOG
EVENTS
;
SELECT
HEX
(
f1
)
FROM
t1
;
DROP
table
t1
;
# end test for bug#11338
SET
collation_connection
=
'cp932_japanese_ci'
;
--
source
include
/
ctype_filesort
.
inc
...
...
This diff is collapsed.
Click to expand it.
sql/item.cc
View file @
62402103
...
...
@@ -2138,7 +2138,7 @@ bool Item_param::set_from_user_var(THD *thd, const user_var_entry *entry)
CHARSET_INFO
*
tocs
=
thd
->
variables
.
collation_connection
;
uint32
dummy_offset
;
value
.
cs_info
.
character_set_
client
=
fromcs
;
value
.
cs_info
.
character_set_
of_placeholder
=
fromcs
;
/*
Setup source and destination character sets so that they
are different only if conversion is necessary: this will
...
...
@@ -2456,10 +2456,17 @@ const String *Item_param::query_val_str(String* str) const
buf
=
str
->
c_ptr_quick
();
ptr
=
buf
;
*
ptr
++=
'\''
;
ptr
+=
escape_string_for_mysql
(
str_value
.
charset
(),
ptr
,
0
,
str_value
.
ptr
(),
str_value
.
length
());
*
ptr
++=
'\''
;
if
(
value
.
cs_info
.
character_set_client
->
escape_with_backslash_is_dangerous
)
{
ptr
=
str_to_hex
(
ptr
,
str_value
.
ptr
(),
str_value
.
length
());
}
else
{
*
ptr
++=
'\''
;
ptr
+=
escape_string_for_mysql
(
str_value
.
charset
(),
ptr
,
0
,
str_value
.
ptr
(),
str_value
.
length
());
*
ptr
++=
'\''
;
}
str
->
length
((
uint32
)
(
ptr
-
buf
));
break
;
}
...
...
@@ -2489,10 +2496,10 @@ bool Item_param::convert_str_value(THD *thd)
here only if conversion is really necessary.
*/
if
(
value
.
cs_info
.
final_character_set_of_str_value
!=
value
.
cs_info
.
character_set_
client
)
value
.
cs_info
.
character_set_
of_placeholder
)
{
rc
=
thd
->
convert_string
(
&
str_value
,
value
.
cs_info
.
character_set_
client
,
value
.
cs_info
.
character_set_
of_placeholder
,
value
.
cs_info
.
final_character_set_of_str_value
);
}
else
...
...
This diff is collapsed.
Click to expand it.
sql/item.h
View file @
62402103
...
...
@@ -1026,6 +1026,7 @@ public:
struct
CONVERSION_INFO
{
CHARSET_INFO
*
character_set_client
;
CHARSET_INFO
*
character_set_of_placeholder
;
/*
This points at character set of connection if conversion
to it is required (i. e. if placeholder typecode is not BLOB).
...
...
This diff is collapsed.
Click to expand it.
sql/log_event.cc
View file @
62402103
...
...
@@ -210,7 +210,7 @@ static inline int read_str(char **buf, char *buf_end, char **str,
/*
Transforms a string into "" or its expression in 0x... form.
*/
static
char
*
str_to_hex
(
char
*
to
,
char
*
from
,
uint
len
)
char
*
str_to_hex
(
char
*
to
,
const
char
*
from
,
uint
len
)
{
char
*
p
=
to
;
if
(
len
)
...
...
This diff is collapsed.
Click to expand it.
sql/log_event.h
View file @
62402103
...
...
@@ -1582,5 +1582,5 @@ public:
bool
is_valid
()
const
{
return
1
;
}
};
#endif
char
*
str_to_hex
(
char
*
to
,
const
char
*
from
,
uint
len
);
#endif
/* _log_event_h */
This diff is collapsed.
Click to expand it.
sql/sql_prepare.cc
View file @
62402103
...
...
@@ -551,7 +551,9 @@ static void setup_one_conversion_function(THD *thd, Item_param *param,
case
MYSQL_TYPE_LONG_BLOB
:
case
MYSQL_TYPE_BLOB
:
param
->
set_param_func
=
set_param_str
;
param
->
value
.
cs_info
.
character_set_client
=
&
my_charset_bin
;
param
->
value
.
cs_info
.
character_set_of_placeholder
=
&
my_charset_bin
;
param
->
value
.
cs_info
.
character_set_client
=
thd
->
variables
.
character_set_client
;
param
->
value
.
cs_info
.
final_character_set_of_str_value
=
&
my_charset_bin
;
param
->
item_type
=
Item
::
STRING_ITEM
;
param
->
item_result_type
=
STRING_RESULT
;
...
...
@@ -567,6 +569,7 @@ static void setup_one_conversion_function(THD *thd, Item_param *param,
CHARSET_INFO
*
tocs
=
thd
->
variables
.
collation_connection
;
uint32
dummy_offset
;
param
->
value
.
cs_info
.
character_set_of_placeholder
=
fromcs
;
param
->
value
.
cs_info
.
character_set_client
=
fromcs
;
/*
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-big5.c
View file @
62402103
...
...
@@ -6399,6 +6399,7 @@ CHARSET_INFO my_charset_big5_chinese_ci=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_big5_handler
,
&
my_collation_big5_chinese_ci_handler
};
...
...
@@ -6430,6 +6431,7 @@ CHARSET_INFO my_charset_big5_bin=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_big5_handler
,
&
my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-bin.c
View file @
62402103
...
...
@@ -539,6 +539,7 @@ CHARSET_INFO my_charset_bin =
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_binary_handler
};
This diff is collapsed.
Click to expand it.
strings/ctype-cp932.c
View file @
62402103
...
...
@@ -5522,6 +5522,7 @@ CHARSET_INFO my_charset_cp932_japanese_ci=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
1
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_ci_handler
};
...
...
@@ -5552,6 +5553,7 @@ CHARSET_INFO my_charset_cp932_bin=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
1
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-czech.c
View file @
62402103
...
...
@@ -628,6 +628,7 @@ CHARSET_INFO my_charset_latin2_czech_ci =
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
0
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_8bit_handler
,
&
my_collation_latin2_czech_ci_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-euc_kr.c
View file @
62402103
...
...
@@ -8706,6 +8706,7 @@ CHARSET_INFO my_charset_euckr_korean_ci=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_ci_handler
};
...
...
@@ -8737,6 +8738,7 @@ CHARSET_INFO my_charset_euckr_bin=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-eucjpms.c
View file @
62402103
...
...
@@ -8708,6 +8708,7 @@ CHARSET_INFO my_charset_eucjpms_japanese_ci=
3
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_ci_handler
};
...
...
@@ -8739,6 +8740,7 @@ CHARSET_INFO my_charset_eucjpms_bin=
3
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-extra.c
View file @
62402103
...
...
@@ -43,6 +43,7 @@ CHARSET_INFO compiled_charsets[] = {
0
,
/* mbmaxlen */
0
,
/* min_sort_ord */
0
,
/* max_sort_ord */
0
,
/* escape_with_backslash_is_dangerous */
NULL
,
/* cset handler */
NULL
/* coll handler */
}
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-gb2312.c
View file @
62402103
...
...
@@ -5757,6 +5757,7 @@ CHARSET_INFO my_charset_gb2312_chinese_ci=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_ci_handler
};
...
...
@@ -5787,6 +5788,7 @@ CHARSET_INFO my_charset_gb2312_bin=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-gbk.c
View file @
62402103
...
...
@@ -10046,6 +10046,7 @@ CHARSET_INFO my_charset_gbk_chinese_ci=
2, /* mbmaxlen */
0, /* min_sort_char */
255, /* max_sort_char */
0, /* escape_with_backslash_is_dangerous */
&my_charset_handler,
&my_collation_ci_handler
};
...
...
@@ -10076,6 +10077,7 @@ CHARSET_INFO my_charset_gbk_bin=
2, /* mbmaxlen */
0, /* min_sort_char */
255, /* max_sort_char */
0, /* escape_with_backslash_is_dangerous */
&my_charset_handler,
&my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-latin1.c
View file @
62402103
...
...
@@ -441,6 +441,7 @@ CHARSET_INFO my_charset_latin1=
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_8bit_simple_ci_handler
};
...
...
@@ -739,6 +740,7 @@ CHARSET_INFO my_charset_latin1_german2_ci=
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
247
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_german2_ci_handler
};
...
...
@@ -770,6 +772,7 @@ CHARSET_INFO my_charset_latin1_bin=
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_8bit_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-sjis.c
View file @
62402103
...
...
@@ -4696,6 +4696,7 @@ CHARSET_INFO my_charset_sjis_japanese_ci=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_ci_handler
};
...
...
@@ -4726,6 +4727,7 @@ CHARSET_INFO my_charset_sjis_bin=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-tis620.c
View file @
62402103
...
...
@@ -993,6 +993,7 @@ CHARSET_INFO my_charset_tis620_thai_ci=
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
0
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_ci_handler
};
...
...
@@ -1023,6 +1024,7 @@ CHARSET_INFO my_charset_tis620_bin=
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
0
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_8bit_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-uca.c
View file @
62402103
...
...
@@ -8059,6 +8059,7 @@ CHARSET_INFO my_charset_ucs2_general_uca=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8089,6 +8090,7 @@ CHARSET_INFO my_charset_ucs2_icelandic_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8119,6 +8121,7 @@ CHARSET_INFO my_charset_ucs2_latvian_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8149,6 +8152,7 @@ CHARSET_INFO my_charset_ucs2_romanian_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8179,6 +8183,7 @@ CHARSET_INFO my_charset_ucs2_slovenian_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8209,6 +8214,7 @@ CHARSET_INFO my_charset_ucs2_polish_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8239,6 +8245,7 @@ CHARSET_INFO my_charset_ucs2_estonian_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8269,6 +8276,7 @@ CHARSET_INFO my_charset_ucs2_spanish_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8299,6 +8307,7 @@ CHARSET_INFO my_charset_ucs2_swedish_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8329,6 +8338,7 @@ CHARSET_INFO my_charset_ucs2_turkish_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8359,6 +8369,7 @@ CHARSET_INFO my_charset_ucs2_czech_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8390,6 +8401,7 @@ CHARSET_INFO my_charset_ucs2_danish_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8420,6 +8432,7 @@ CHARSET_INFO my_charset_ucs2_lithuanian_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8450,6 +8463,7 @@ CHARSET_INFO my_charset_ucs2_slovak_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8480,6 +8494,7 @@ CHARSET_INFO my_charset_ucs2_spanish2_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8511,6 +8526,7 @@ CHARSET_INFO my_charset_ucs2_roman_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8542,6 +8558,7 @@ CHARSET_INFO my_charset_ucs2_persian_uca_ci=
2
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_uca_handler
};
...
...
@@ -8620,6 +8637,7 @@ CHARSET_INFO my_charset_utf8_general_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8651,6 +8669,7 @@ CHARSET_INFO my_charset_utf8_icelandic_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8681,6 +8700,7 @@ CHARSET_INFO my_charset_utf8_latvian_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8711,6 +8731,7 @@ CHARSET_INFO my_charset_utf8_romanian_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8741,6 +8762,7 @@ CHARSET_INFO my_charset_utf8_slovenian_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8771,6 +8793,7 @@ CHARSET_INFO my_charset_utf8_polish_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8801,6 +8824,7 @@ CHARSET_INFO my_charset_utf8_estonian_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8831,6 +8855,7 @@ CHARSET_INFO my_charset_utf8_spanish_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8861,6 +8886,7 @@ CHARSET_INFO my_charset_utf8_swedish_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8891,6 +8917,7 @@ CHARSET_INFO my_charset_utf8_turkish_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8921,6 +8948,7 @@ CHARSET_INFO my_charset_utf8_czech_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8952,6 +8980,7 @@ CHARSET_INFO my_charset_utf8_danish_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -8982,6 +9011,7 @@ CHARSET_INFO my_charset_utf8_lithuanian_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -9012,6 +9042,7 @@ CHARSET_INFO my_charset_utf8_slovak_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -9042,6 +9073,7 @@ CHARSET_INFO my_charset_utf8_spanish2_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -9072,6 +9104,7 @@ CHARSET_INFO my_charset_utf8_roman_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
@@ -9102,6 +9135,7 @@ CHARSET_INFO my_charset_utf8_persian_uca_ci=
3
,
/* mbmaxlen */
9
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_any_uca_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-ucs2.c
View file @
62402103
...
...
@@ -1621,6 +1621,7 @@ CHARSET_INFO my_charset_ucs2_general_ci=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_general_ci_handler
};
...
...
@@ -1651,6 +1652,7 @@ CHARSET_INFO my_charset_ucs2_bin=
2
,
/* mbmaxlen */
0
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_ucs2_handler
,
&
my_collation_ucs2_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-ujis.c
View file @
62402103
...
...
@@ -8576,6 +8576,7 @@ CHARSET_INFO my_charset_ujis_japanese_ci=
3
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_ci_handler
};
...
...
@@ -8607,6 +8608,7 @@ CHARSET_INFO my_charset_ujis_bin=
3
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_handler
,
&
my_collation_mb_bin_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-utf8.c
View file @
62402103
...
...
@@ -2579,6 +2579,7 @@ CHARSET_INFO my_charset_utf8_general_ci=
3
,
/* mbmaxlen */
0
,
/* min_sort_char */
0xFFFF
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_ci_handler
};
...
...
@@ -2610,6 +2611,7 @@ CHARSET_INFO my_charset_utf8_bin=
3
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_mb_bin_handler
};
...
...
@@ -2779,6 +2781,7 @@ CHARSET_INFO my_charset_utf8_general_cs=
3
,
/* mbmaxlen */
0
,
/* min_sort_char */
255
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_utf8_handler
,
&
my_collation_cs_handler
};
...
...
This diff is collapsed.
Click to expand it.
strings/ctype-win1250ch.c
View file @
62402103
...
...
@@ -662,6 +662,7 @@ CHARSET_INFO my_charset_cp1250_czech_ci =
1
,
/* mbmaxlen */
0
,
/* min_sort_char */
0
,
/* max_sort_char */
0
,
/* escape_with_backslash_is_dangerous */
&
my_charset_8bit_handler
,
&
my_collation_czech_ci_handler
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment