1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-27691: make working view-protocol

Update tests for version 10.4
This commit is contained in:
Lena Startseva
2022-09-15 18:30:13 +07:00
parent 78dcf71e88
commit 184e65954b
36 changed files with 148 additions and 23 deletions

View File

@ -126,6 +126,8 @@ SELECT TIME_TO_SEC(a), CAST(a AS TIME(6)), a FROM t1_datetime_in_decimal ORDER B
--echo # Functions with a single TIME interval input, conversion from TIME-interval-in-VARCHAR
--echo #
#enable after fix MDEV-29525
--disable_view_protocol
SELECT
EXTRACT(DAY FROM a),
EXTRACT(HOUR FROM a),
@ -135,6 +137,7 @@ SELECT
CAST(a AS INTERVAL DAY_SECOND(6)),
a
FROM t1_time_in_varchar ORDER BY id;
--enable_view_protocol
SELECT
TIME_TO_SEC(a),
@ -146,6 +149,8 @@ FROM t1_time_in_varchar ORDER BY id;
--echo # Functions with a single TIME interval input, conversion from TIME-interval-in-DECIMAL
--echo #
#enable after fix MDEV-29525
--disable_view_protocol
SELECT
EXTRACT(DAY FROM a),
EXTRACT(HOUR FROM a),
@ -155,6 +160,7 @@ SELECT
CAST(a AS INTERVAL DAY_SECOND(6)),
a
FROM t1_time_in_decimal ORDER BY id;
--enable_view_protocol
SELECT
TIME_TO_SEC(a),