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
cd8151ed
Commit
cd8151ed
authored
Jun 25, 2009
by
Sergey Glukhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test case fix
parent
2c53a70e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
mysql-test/r/ctype_cp932_binlog_stm.result
mysql-test/r/ctype_cp932_binlog_stm.result
+8
-8
mysql-test/t/ctype_cp932_binlog_stm.test
mysql-test/t/ctype_cp932_binlog_stm.test
+3
-2
mysql-test/t/ctype_gbk_binlog.test
mysql-test/t/ctype_gbk_binlog.test
+1
-1
No files found.
mysql-test/r/ctype_cp932_binlog_stm.result
View file @
cd8151ed
...
...
@@ -9,7 +9,7 @@ EXECUTE stmt1 USING @var1;
show binlog events from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # use `test`; CREATE TABLE t1(f1 blob)
master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES(
'\0')
master-bin.000001 # Query # # use `test`; INSERT INTO t1 VALUES(
0x8300
)
SELECT HEX(f1) FROM t1;
HEX(f1)
8300
...
...
@@ -29,22 +29,22 @@ HEX(s1) HEX(s2) d
466F6F2773206120426172 ED40ED41ED42 47.93
DROP PROCEDURE bug18293|
DROP TABLE t4|
SHOW BINLOG EVENTS FROM 3
69
|
SHOW BINLOG EVENTS FROM 3
70
|
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 3
69 Query 1 535
use `test`; CREATE TABLE t4 (s1 CHAR(50) CHARACTER SET latin1,
master-bin.000001 3
70 Query 1 536
use `test`; CREATE TABLE t4 (s1 CHAR(50) CHARACTER SET latin1,
s2 CHAR(50) CHARACTER SET cp932,
d DECIMAL(10,2))
master-bin.000001 53
5 Query 1 784
use `test`; CREATE DEFINER=`root`@`localhost` PROCEDURE `bug18293`(IN ins1 CHAR(50),
master-bin.000001 53
6 Query 1 785
use `test`; CREATE DEFINER=`root`@`localhost` PROCEDURE `bug18293`(IN ins1 CHAR(50),
IN ins2 CHAR(50) CHARACTER SET cp932,
IN ind DECIMAL(10,2))
BEGIN
INSERT INTO t4 VALUES (ins1, ins2, ind);
END
master-bin.000001 78
4 Query 1 1048
use `test`; INSERT INTO t4 VALUES ( NAME_CONST('ins1',_latin1 0x466F6F2773206120426172 COLLATE 'latin1_swedish_ci'), NAME_CONST('ins2',_cp932 0xED40ED41ED42 COLLATE 'cp932_japanese_ci'), NAME_CONST('ind',47.93))
master-bin.000001 104
8 Query 1 1137
use `test`; DROP PROCEDURE bug18293
master-bin.000001 113
7 Query 1 1216
use `test`; DROP TABLE t4
master-bin.000001 78
5 Query 1 1049
use `test`; INSERT INTO t4 VALUES ( NAME_CONST('ins1',_latin1 0x466F6F2773206120426172 COLLATE 'latin1_swedish_ci'), NAME_CONST('ins2',_cp932 0xED40ED41ED42 COLLATE 'cp932_japanese_ci'), NAME_CONST('ind',47.93))
master-bin.000001 104
9 Query 1 1138
use `test`; DROP PROCEDURE bug18293
master-bin.000001 113
8 Query 1 1217
use `test`; DROP TABLE t4
End of 5.0 tests
SHOW BINLOG EVENTS FROM 36
4
;
SHOW BINLOG EVENTS FROM 36
5
;
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Wrong offset or I/O error
Bug#44352 UPPER/LOWER function doesn't work correctly on cp932 and sjis environment.
CREATE TABLE t1 (a varchar(16)) character set cp932;
...
...
mysql-test/t/ctype_cp932_binlog_stm.test
View file @
cd8151ed
...
...
@@ -22,7 +22,7 @@ CALL bug18293("Foo's a Bar", _cp932 0xED40ED41ED42, 47.93)|
SELECT
HEX
(
s1
),
HEX
(
s2
),
d
FROM
t4
|
DROP
PROCEDURE
bug18293
|
DROP
TABLE
t4
|
SHOW
BINLOG
EVENTS
FROM
3
69
|
SHOW
BINLOG
EVENTS
FROM
3
70
|
delimiter
;
|
--
echo
End
of
5.0
tests
...
...
@@ -31,8 +31,9 @@ delimiter ;|
# #28436: Incorrect position in SHOW BINLOG EVENTS causes server coredump
# Note: 364 is a magic position (found experimentally, depends on
# the log's contents) that caused the server crash.
--
error
1220
SHOW
BINLOG
EVENTS
FROM
36
4
;
SHOW
BINLOG
EVENTS
FROM
36
5
;
--
echo
Bug
#44352 UPPER/LOWER function doesn't work correctly on cp932 and sjis environment.
CREATE
TABLE
t1
(
a
varchar
(
16
))
character
set
cp932
;
...
...
mysql-test/t/ctype_gbk_binlog.test
View file @
cd8151ed
--
source
include
/
have_
log_bin
.
inc
--
source
include
/
have_
binlog_format_mixed_or_statement
.
inc
--
source
include
/
have_gbk
.
inc
SET
NAMES
gbk
;
...
...
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