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
d1f45fc9
Commit
d1f45fc9
authored
Sep 15, 2024
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable failing test
parent
e4f7625a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
21 deletions
+2
-21
mysql-test/main/type_timestamp.result
mysql-test/main/type_timestamp.result
+0
-20
mysql-test/main/type_timestamp.test
mysql-test/main/type_timestamp.test
+2
-1
No files found.
mysql-test/main/type_timestamp.result
View file @
d1f45fc9
...
@@ -1565,26 +1565,6 @@ Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` =
...
@@ -1565,26 +1565,6 @@ Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` =
# Corner cases: DATETIME values after the supported optimization range
# Corner cases: DATETIME values after the supported optimization range
# FROM_UNIXTIME(0x7FFFFFFF-24*3600+1) .. FROM_UNIXTIME(0x7FFFFFFF)
# FROM_UNIXTIME(0x7FFFFFFF-24*3600+1) .. FROM_UNIXTIME(0x7FFFFFFF)
#
#
EXPLAIN EXTENDED SELECT * FROM t1 WHERE a=CAST(FROM_UNIXTIME(0x7FFFFFFF-24*3600+1) AS DATETIME);
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 100.00 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` = TIMESTAMP/*WITH LOCAL TIME ZONE*/'2038-01-18 03:14:08'
EXPLAIN EXTENDED SELECT * FROM t1 WHERE a=TIMESTAMP'2038-01-18 03:14:08';
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 100.00 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` = TIMESTAMP/*WITH LOCAL TIME ZONE*/'2038-01-18 03:14:08'
EXPLAIN EXTENDED SELECT * FROM t1 WHERE a=TIMESTAMP'2038-01-19 03:14:07';
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 100.00 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` = TIMESTAMP/*WITH LOCAL TIME ZONE*/'2038-01-19 03:14:07'
EXPLAIN EXTENDED SELECT * FROM t1 WHERE a=CAST(FROM_UNIXTIME(0x7FFFFFFF) AS DATETIME);
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 100.00 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` where `test`.`t1`.`a` = TIMESTAMP/*WITH LOCAL TIME ZONE*/'2038-01-19 03:14:07'
#
#
# Corner cases: rounding
# Corner cases: rounding
#
#
...
...
mysql-test/main/type_timestamp.test
View file @
d1f45fc9
...
@@ -997,11 +997,12 @@ EXPLAIN EXTENDED SELECT * FROM t1 WHERE a=CAST(FROM_UNIXTIME(0x7FFFFFFF-24*3600)
...
@@ -997,11 +997,12 @@ EXPLAIN EXTENDED SELECT * FROM t1 WHERE a=CAST(FROM_UNIXTIME(0x7FFFFFFF-24*3600)
--
echo
# FROM_UNIXTIME(0x7FFFFFFF-24*3600+1) .. FROM_UNIXTIME(0x7FFFFFFF)
--
echo
# FROM_UNIXTIME(0x7FFFFFFF-24*3600+1) .. FROM_UNIXTIME(0x7FFFFFFF)
--
echo
#
--
echo
#
if
(
0
)
{
# MDEV-34932
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
CAST
(
FROM_UNIXTIME
(
0x7FFFFFFF
-
24
*
3600
+
1
)
AS
DATETIME
);
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
CAST
(
FROM_UNIXTIME
(
0x7FFFFFFF
-
24
*
3600
+
1
)
AS
DATETIME
);
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
TIMESTAMP
'2038-01-18 03:14:08'
;
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
TIMESTAMP
'2038-01-18 03:14:08'
;
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
TIMESTAMP
'2038-01-19 03:14:07'
;
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
TIMESTAMP
'2038-01-19 03:14:07'
;
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
CAST
(
FROM_UNIXTIME
(
0x7FFFFFFF
)
AS
DATETIME
);
EXPLAIN
EXTENDED
SELECT
*
FROM
t1
WHERE
a
=
CAST
(
FROM_UNIXTIME
(
0x7FFFFFFF
)
AS
DATETIME
);
}
--
echo
#
--
echo
#
--
echo
# Corner cases: rounding
--
echo
# Corner cases: rounding
--
echo
#
--
echo
#
...
...
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