Adding upstream version 15.0.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
70d5d3451a
commit
bb75596aa9
167 changed files with 58268 additions and 51337 deletions
17
tests/fixtures/optimizer/simplify.sql
vendored
17
tests/fixtures/optimizer/simplify.sql
vendored
|
@ -201,6 +201,21 @@ A AND B AND C AND D;
|
|||
(((((A) AND B)) AND C)) AND D;
|
||||
A AND B AND C AND D;
|
||||
|
||||
(x + 1) + 2;
|
||||
x + 3;
|
||||
|
||||
x + (1 + 2);
|
||||
x + 3;
|
||||
|
||||
(x * 2) * 4 + (1 + 3) + 5;
|
||||
x * 8 + 9;
|
||||
|
||||
(x - 1) - 2;
|
||||
(x - 1) - 2;
|
||||
|
||||
x - (3 - 2);
|
||||
x - 1;
|
||||
|
||||
--------------------------------------
|
||||
-- Comparison and Pruning
|
||||
--------------------------------------
|
||||
|
@ -574,4 +589,4 @@ x > 3;
|
|||
TRUE;
|
||||
|
||||
x = 2018 OR x <> 2018;
|
||||
x <> 2018 OR x = 2018;
|
||||
x <> 2018 OR x = 2018;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue