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
3f58b7cd
Commit
3f58b7cd
authored
Aug 16, 2010
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
98f69947
8b25c0e4
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_time.result
mysql-test/r/func_time.result
+8
-0
mysql-test/t/func_time.test
mysql-test/t/func_time.test
+11
-0
No files found.
mysql-test/r/func_time.result
View file @
3f58b7cd
...
...
@@ -1305,4 +1305,12 @@ date_sub("0069-01-01 00:00:01",INTERVAL 2 SECOND)
select date_sub("0169-01-01 00:00:01",INTERVAL 2 SECOND);
date_sub("0169-01-01 00:00:01",INTERVAL 2 SECOND)
0168-12-31 23:59:59
CREATE TABLE t1(a DOUBLE NOT NULL);
INSERT INTO t1 VALUES (0),(9.216e-096);
# should not crash
SELECT 1 FROM t1 ORDER BY @x:=makedate(a,a);
1
1
1
DROP TABLE t1;
End of 5.1 tests
mysql-test/t/func_time.test
View file @
3f58b7cd
...
...
@@ -821,4 +821,15 @@ select date_sub("0069-01-01 00:00:01",INTERVAL 2 SECOND);
select
date_sub
(
"0169-01-01 00:00:01"
,
INTERVAL
2
SECOND
);
#
# Bug #55565: debug assertion when ordering by expressions with user
# variable assignments
#
CREATE
TABLE
t1
(
a
DOUBLE
NOT
NULL
);
INSERT
INTO
t1
VALUES
(
0
),(
9.216e-096
);
--
echo
# should not crash
SELECT
1
FROM
t1
ORDER
BY
@
x
:=
makedate
(
a
,
a
);
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