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
b81d6b8f
Commit
b81d6b8f
authored
Jan 31, 2007
by
bar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bar/mysql-5.0.b25815
into mysql.com:/home/bar/mysql-5.1.b25815
parents
b3ade670
ffeaffc2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
2 deletions
+25
-2
mysql-test/extra/binlog_tests/ctype_cp932.test
mysql-test/extra/binlog_tests/ctype_cp932.test
+11
-0
mysql-test/r/binlog_stm_ctype_cp932.result
mysql-test/r/binlog_stm_ctype_cp932.result
+12
-0
sql/field.cc
sql/field.cc
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
mysql-test/extra/binlog_tests/ctype_cp932.test
View file @
b81d6b8f
...
...
@@ -413,3 +413,14 @@ select * from t1;
insert
into
t1
values
(
'abc'
);
select
*
from
t1
;
drop
table
t1
;
#
# Bug#25815 Data truncated for column TEXT
#
set
names
utf8
;
create
table
t1
(
a
text
)
default
character
set
cp932
;
insert
into
t1
values
(
_utf8
0xE38182
);
show
warnings
;
select
*
from
t1
;
select
hex
(
a
)
from
t1
;
drop
table
t1
;
mysql-test/r/binlog_stm_ctype_cp932.result
View file @
b81d6b8f
...
...
@@ -11353,3 +11353,15 @@ a
a
a
drop table t1;
set names utf8;
create table t1 (a text) default character set cp932;
insert into t1 values (_utf8 0xE38182);
show warnings;
Level Code Message
select * from t1;
a
あ
select hex(a) from t1;
hex(a)
82A0
drop table t1;
sql/field.cc
View file @
b81d6b8f
...
...
@@ -7213,7 +7213,7 @@ int Field_blob::store(const char *from,uint length,CHARSET_INFO *cs)
cannot_convert_error_pos
,
from
+
length
))
return
2
;
if
(
copy_length
<
length
)
if
(
from_end_pos
<
from
+
length
)
{
report_data_too_long
(
this
);
return
2
;
...
...
sql/mysqld.cc
View file @
b81d6b8f
...
...
@@ -7486,7 +7486,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
case
(
int
)
OPT_STANDALONE
:
/* Dummy option for NT */
break
;
#endif
/*
/*
The following change issues a deprecation warning if the slave
configuration is specified either in the my.cnf file or on
the command-line. See BUG#21490.
...
...
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