mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
cleanup: remove get_datetime_value()
this is a 10.3 version of 27d94b7e03
It disables caching of the first argument of IN,
if it's of a temporal type. Because other types are not
cached in this context.
This commit is contained in:
@ -422,6 +422,8 @@ ok
|
||||
ok
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect time value: 'foo'
|
||||
Warning 1292 Truncated incorrect time value: 'foo'
|
||||
Warning 1292 Truncated incorrect time value: 'foo'
|
||||
select 'foo' in (a,'0') from t1;
|
||||
'foo' in (a,'0')
|
||||
0
|
||||
@ -429,6 +431,8 @@ select 'foo' in (a,'0') from t1;
|
||||
0
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect time value: 'foo'
|
||||
Warning 1292 Truncated incorrect time value: 'foo'
|
||||
Warning 1292 Truncated incorrect time value: 'foo'
|
||||
drop table t1;
|
||||
select case '20:10:05' when date'2020-10-10' then 'never' when time'20:10:5' then 'ok' else 'bug' end;
|
||||
case '20:10:05' when date'2020-10-10' then 'never' when time'20:10:5' then 'ok' else 'bug' end
|
||||
|
Reference in New Issue
Block a user