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
77baa0ce
Commit
77baa0ce
authored
Jul 18, 2011
by
Tor Didriksen
Browse files
Options
Browse Files
Download
Plain Diff
automerge 5.1->security => 5.5-security
parents
4eaf4397
cdb8bb98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
mysql-test/r/type_float.result
mysql-test/r/type_float.result
+1
-4
mysql-test/t/type_float.test
mysql-test/t/type_float.test
+4
-2
No files found.
mysql-test/r/type_float.result
View file @
77baa0ce
...
@@ -434,13 +434,10 @@ DROP TABLE t1;
...
@@ -434,13 +434,10 @@ DROP TABLE t1;
#
#
# Bug#12406055 BUFFER OVERFLOW OF VARIABLE 'BUFF' IN STRING::SET_REAL
# Bug#12406055 BUFFER OVERFLOW OF VARIABLE 'BUFF' IN STRING::SET_REAL
#
#
# Ignoring output from misc. float operations
select format(-1.7976931348623157E+307,256) as foo;
select format(-1.7976931348623157E+307,256) as foo;
foo
ignore_float_result
select least(-1.1111111111111111111111111,
select least(-1.1111111111111111111111111,
- group_concat(1.7976931348623157E+308)) as foo;
- group_concat(1.7976931348623157E+308)) as foo;
foo
ignore_float_result
select concat((truncate((-1.7976931348623157E+307),(0x1e))),
select concat((truncate((-1.7976931348623157E+307),(0x1e))),
(99999999999999999999999999999999999999999999999999999999999999999)) into @a;
(99999999999999999999999999999999999999999999999999999999999999999)) into @a;
End of 5.0 tests
End of 5.0 tests
mysql-test/t/type_float.test
View file @
77baa0ce
...
@@ -311,15 +311,17 @@ DROP TABLE t1;
...
@@ -311,15 +311,17 @@ DROP TABLE t1;
--
echo
# Bug#12406055 BUFFER OVERFLOW OF VARIABLE 'BUFF' IN STRING::SET_REAL
--
echo
# Bug#12406055 BUFFER OVERFLOW OF VARIABLE 'BUFF' IN STRING::SET_REAL
--
echo
#
--
echo
#
--
echo
# Ignoring output from misc. float operations
--
disable_result_log
let
$nine_65
=
let
$nine_65
=
99999999999999999999999999999999999999999999999999999999999999999
;
99999999999999999999999999999999999999999999999999999999999999999
;
--
replace_column
1
ignore_float_result
select
format
(
-
1.7976931348623157E+307
,
256
)
as
foo
;
select
format
(
-
1.7976931348623157E+307
,
256
)
as
foo
;
--
replace_column
1
ignore_float_result
select
least
(
-
1.1111111111111111111111111
,
select
least
(
-
1.1111111111111111111111111
,
-
group_concat
(
1.7976931348623157E+308
))
as
foo
;
-
group_concat
(
1.7976931348623157E+308
))
as
foo
;
eval
select
concat
((
truncate
((
-
1.7976931348623157E+307
),(
0x1e
))),
eval
select
concat
((
truncate
((
-
1.7976931348623157E+307
),(
0x1e
))),
(
$nine_65
))
into
@
a
;
(
$nine_65
))
into
@
a
;
--
enable_result_log
--
echo
End
of
5.0
tests
--
echo
End
of
5.0
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