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
0cdc8007
Commit
0cdc8007
authored
Dec 14, 2010
by
Sergey Glukhov
Browse files
Options
Browse Files
Download
Plain Diff
5.1-bugteam->5.5-bugteam merge(test case only)
parents
1c4a8872
76627d5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
mysql-test/r/func_str.result
mysql-test/r/func_str.result
+12
-0
mysql-test/t/func_str.test
mysql-test/t/func_str.test
+7
-0
No files found.
mysql-test/r/func_str.result
View file @
0cdc8007
...
@@ -2603,6 +2603,18 @@ ORDER BY QUOTE(t1.a);
...
@@ -2603,6 +2603,18 @@ ORDER BY QUOTE(t1.a);
1
1
1
1
DROP TABLE t1;
DROP TABLE t1;
#
# Bug#57913 large negative number to string conversion functions crash
# Bug#57810 case/when/then : Assertion failed: length || !scale
#
SELECT '1' IN ('1', SUBSTRING(-9223372036854775809, 1));
'1' IN ('1', SUBSTRING(-9223372036854775809, 1))
1
SELECT CONVERT(('' IN (REVERSE(CAST(('') AS DECIMAL)), '')), CHAR(3));
CONVERT(('' IN (REVERSE(CAST(('') AS DECIMAL)), '')), CHAR(3))
1
Warnings:
Warning 1292 Truncated incorrect DECIMAL value: ''
End of 5.1 tests
End of 5.1 tests
Start of 5.4 tests
Start of 5.4 tests
SELECT format(12345678901234567890.123, 3);
SELECT format(12345678901234567890.123, 3);
...
...
mysql-test/t/func_str.test
View file @
0cdc8007
...
@@ -1363,6 +1363,13 @@ SELECT 1 FROM t1, t1 t2
...
@@ -1363,6 +1363,13 @@ SELECT 1 FROM t1, t1 t2
ORDER
BY
QUOTE
(
t1
.
a
);
ORDER
BY
QUOTE
(
t1
.
a
);
DROP
TABLE
t1
;
DROP
TABLE
t1
;
--
echo
#
--
echo
# Bug#57913 large negative number to string conversion functions crash
--
echo
# Bug#57810 case/when/then : Assertion failed: length || !scale
--
echo
#
SELECT
'1'
IN
(
'1'
,
SUBSTRING
(
-
9223372036854775809
,
1
));
SELECT
CONVERT
((
''
IN
(
REVERSE
(
CAST
((
''
)
AS
DECIMAL
)),
''
)),
CHAR
(
3
));
--
echo
End
of
5.1
tests
--
echo
End
of
5.1
tests
--
echo
Start
of
5.4
tests
--
echo
Start
of
5.4
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