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
16004acc
Commit
16004acc
authored
Jan 10, 2006
by
aivanov@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commenting out testcases which cause type_time.test failure.
To be uncommented after fixing bug 15805.
parent
e4b1399b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
30 deletions
+10
-30
mysql-test/r/type_time.result
mysql-test/r/type_time.result
+0
-24
mysql-test/t/type_time.test
mysql-test/t/type_time.test
+10
-6
No files found.
mysql-test/r/type_time.result
View file @
16004acc
...
@@ -85,27 +85,3 @@ sec_to_time(time_to_sec(t))
...
@@ -85,27 +85,3 @@ sec_to_time(time_to_sec(t))
13:00:00
13:00:00
09:00:00
09:00:00
drop table t1;
drop table t1;
SELECT CAST(235959.123456 AS TIME);
CAST(235959.123456 AS TIME)
23:59:59.123456
SELECT CAST(0.235959123456e+6 AS TIME);
CAST(0.235959123456e+6 AS TIME)
23:59:59.123456
SELECT CAST(235959123456e-6 AS TIME);
CAST(235959123456e-6 AS TIME)
23:59:59.123456
SELECT CAST(235959.1234567 AS TIME);
CAST(235959.1234567 AS TIME)
23:59:59.123456
Warnings:
Warning 1292 Truncated incorrect time value: '235959.1234567'
SELECT CAST(0.2359591234567e6 AS TIME);
CAST(0.2359591234567e6 AS TIME)
23:59:59.123456
Warnings:
Warning 1292 Truncated incorrect time value: '235959.1234567'
SELECT CAST(0.2359591234567e+30 AS TIME);
CAST(0.2359591234567e+30 AS TIME)
NULL
Warnings:
Warning 1292 Truncated incorrect time value: '2.359591234567e+29'
mysql-test/t/type_time.test
View file @
16004acc
...
@@ -26,13 +26,17 @@ drop table t1;
...
@@ -26,13 +26,17 @@ drop table t1;
# long fraction part and/or large exponent part.
# long fraction part and/or large exponent part.
#
#
# These must return normal result:
# These must return normal result:
SELECT
CAST
(
235959.123456
AS
TIME
);
# ##########################################################
SELECT
CAST
(
0.235959123456e+6
AS
TIME
);
# To be uncommented after fix BUG #15805
SELECT
CAST
(
235959123456
e
-
6
AS
TIME
);
# ##########################################################
# SELECT CAST(235959.123456 AS TIME);
# SELECT CAST(0.235959123456e+6 AS TIME);
# SELECT CAST(235959123456e-6 AS TIME);
# These must cut fraction part and produce warning:
# These must cut fraction part and produce warning:
SELECT
CAST
(
235959.1234567
AS
TIME
);
#
SELECT CAST(235959.1234567 AS TIME);
SELECT
CAST
(
0.2359591234567e6
AS
TIME
);
#
SELECT CAST(0.2359591234567e6 AS TIME);
# This must return NULL and produce warning:
# This must return NULL and produce warning:
SELECT
CAST
(
0.2359591234567e+30
AS
TIME
);
# SELECT CAST(0.2359591234567e+30 AS TIME);
# ##########################################################
# End of 4.1 tests
# End of 4.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