mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-27691: make working view-protocol
Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
This commit is contained in:
@ -1233,14 +1233,23 @@ SELECT * FROM t1 WHERE a >= '2009:09:23 00:00:00';
|
||||
--echo # The former may give errors for the truncated values, while the latter
|
||||
--echo # gives warnings. The purpose of this test is not to interfere, and only
|
||||
--echo # preserve existing behavior.
|
||||
|
||||
|
||||
#view protocol generates additional warning
|
||||
--disable_view_protocol
|
||||
|
||||
SELECT str_to_date('2007-10-00', '%Y-%m-%d') >= '' AND
|
||||
str_to_date('2007-10-00', '%Y-%m-%d') <= '2007/10/20';
|
||||
|
||||
SELECT str_to_date('2007-20-00', '%Y-%m-%d') >= '2007/10/20' AND
|
||||
str_to_date('2007-20-00', '%Y-%m-%d') <= '';
|
||||
--enable_view_protocol
|
||||
|
||||
#enable after fix MDEV-27871
|
||||
--disable_view_protocol
|
||||
SELECT str_to_date('2007-10-00', '%Y-%m-%d') BETWEEN '' AND '2007/10/20';
|
||||
SELECT str_to_date('2007-20-00', '%Y-%m-%d') BETWEEN '2007/10/20' AND '';
|
||||
--enable_view_protocol
|
||||
|
||||
SELECT str_to_date('', '%Y-%m-%d');
|
||||
|
||||
|
Reference in New Issue
Block a user