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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
cab060d2
Commit
cab060d2
authored
Mar 22, 2006
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/usr/home/bar/mysql-4.1.b18004
into mysql.com:/usr/home/bar/mysql-5.0
parents
dcceaae8
33e446b3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
3 deletions
+19
-3
mysql-test/r/ctype_ucs2_def.result
mysql-test/r/ctype_ucs2_def.result
+6
-0
mysql-test/t/ctype_ucs2_def-master.opt
mysql-test/t/ctype_ucs2_def-master.opt
+1
-0
mysql-test/t/ctype_ucs2_def.test
mysql-test/t/ctype_ucs2_def.test
+9
-0
sql/table.cc
sql/table.cc
+3
-3
No files found.
mysql-test/r/ctype_ucs2_def.result
0 → 100644
View file @
cab060d2
show variables like "%character_set_ser%";
Variable_name Value
character_set_server ucs2
DROP TABLE IF EXISTS t1;
create table t1 (a int);
drop table t1;
mysql-test/t/ctype_ucs2_def-master.opt
0 → 100644
View file @
cab060d2
--default-character-set=ucs2 --default-collation=ucs2_unicode_ci
mysql-test/t/ctype_ucs2_def.test
0 → 100644
View file @
cab060d2
#
# Bug#18004 Connecting crashes server when default charset is UCS2
#
show
variables
like
"%character_set_ser%"
;
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
create
table
t1
(
a
int
);
drop
table
t1
;
sql/table.cc
View file @
cab060d2
...
...
@@ -1597,7 +1597,7 @@ bool check_db_name(char *name)
while
(
*
name
)
{
#if defined(USE_MB) && defined(USE_MB_IDENT)
last_char_is_space
=
my_isspace
(
default
_charset_info
,
*
name
);
last_char_is_space
=
my_isspace
(
system
_charset_info
,
*
name
);
if
(
use_mb
(
system_charset_info
))
{
int
len
=
my_ismbchar
(
system_charset_info
,
name
,
...
...
@@ -1643,7 +1643,7 @@ bool check_table_name(const char *name, uint length)
while
(
name
!=
end
)
{
#if defined(USE_MB) && defined(USE_MB_IDENT)
last_char_is_space
=
my_isspace
(
default
_charset_info
,
*
name
);
last_char_is_space
=
my_isspace
(
system
_charset_info
,
*
name
);
if
(
use_mb
(
system_charset_info
))
{
int
len
=
my_ismbchar
(
system_charset_info
,
name
,
end
);
...
...
@@ -1674,7 +1674,7 @@ bool check_column_name(const char *name)
while
(
*
name
)
{
#if defined(USE_MB) && defined(USE_MB_IDENT)
last_char_is_space
=
my_isspace
(
default
_charset_info
,
*
name
);
last_char_is_space
=
my_isspace
(
system
_charset_info
,
*
name
);
if
(
use_mb
(
system_charset_info
))
{
int
len
=
my_ismbchar
(
system_charset_info
,
name
,
...
...
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