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
53ecb170
Commit
53ecb170
authored
Feb 22, 2012
by
Tor Didriksen
Browse files
Options
Browse Files
Download
Plain Diff
Merge 5.1-security => 5.5-security
parents
685767da
f3eb021d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
mysql-test/r/cast.result
mysql-test/r/cast.result
+9
-0
mysql-test/t/cast.test
mysql-test/t/cast.test
+12
-0
No files found.
mysql-test/r/cast.result
View file @
53ecb170
...
...
@@ -468,4 +468,13 @@ NULL
Warnings:
Warning 1301 Result of cast_as_char() was larger than max_allowed_packet (2048) - truncated
SET @@GLOBAL.max_allowed_packet=default;
#
# Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET)
#
CREATE TABLE t1 (a VARCHAR(50));
SELECT a FROM t1
WHERE CAST(a as BINARY)=x'62736D697468'
AND CAST(a AS BINARY)=x'65736D697468';
a
DROP TABLE t1;
End of 5.1 tests
mysql-test/t/cast.test
View file @
53ecb170
...
...
@@ -295,4 +295,16 @@ connection default;
disconnect
newconn
;
SET
@@
GLOBAL
.
max_allowed_packet
=
default
;
--
echo
#
--
echo
# Bug#13519724 63793: CRASH IN DTCOLLATION::SET(DTCOLLATION &SET)
--
echo
#
CREATE
TABLE
t1
(
a
VARCHAR
(
50
));
SELECT
a
FROM
t1
WHERE
CAST
(
a
as
BINARY
)
=
x
'62736D697468'
AND
CAST
(
a
AS
BINARY
)
=
x
'65736D697468'
;
DROP
TABLE
t1
;
--
echo
End
of
5.1
tests
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