Adding upstream version 26.15.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
dfe1cec38a
commit
4bfa0e7e53
58 changed files with 4878 additions and 4677 deletions
6
tests/fixtures/optimizer/canonicalize.sql
vendored
6
tests/fixtures/optimizer/canonicalize.sql
vendored
|
@ -124,6 +124,12 @@ SELECT CAST(CAST(`t`.`some_col` AS DATE) AS DATETIME) < CAST(CAST(`t`.`other_col
|
|||
--------------------------------------
|
||||
-- Remove redundant casts
|
||||
--------------------------------------
|
||||
CAST(CAST("foo" AS DECIMAL(4, 2)) AS DECIMAL(8, 4)) AS "x";
|
||||
CAST(CAST("foo" AS DECIMAL(4, 2)) AS DECIMAL(8, 4)) AS "x";
|
||||
|
||||
CAST(CAST("foo" AS DECIMAL(4, 2)) AS DECIMAL(4, 2)) AS "x";
|
||||
CAST("foo" AS DECIMAL(4, 2)) AS "x";
|
||||
|
||||
CAST(CAST('2023-01-01' AS DATE) AS DATE);
|
||||
CAST('2023-01-01' AS DATE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue