Skip to content

Commit 0b8672c

Browse files
author
Azure Pipelines Bot
committed
[Linux / Firebird 4.0] baselines
1 parent 857e24a commit 0b8672c

14 files changed

+3242
-104
lines changed

Firebird.4.LinqService/Tests/Linq/DecompositionTests/Tests.Linq.DecompositionTests.ExtractValuesAndCombining(Firebird.4.LinqService).sql

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FROM
2424
"i"."Kind" = 1 OR "i"."Kind" = 2
2525
) "x"
2626
WHERE
27-
NOT ("x"."cond" AND "x"."cond_1" OR NOT "x"."cond")
27+
NOT ("x"."cond_1" OR NOT "x"."cond")
2828

2929
BeforeExecute
3030
-- Firebird.4 Firebird4
@@ -218,7 +218,7 @@ FROM
218218
"t1"."cond"
219219
) "x_1"
220220
WHERE
221-
NOT ("x_1"."Color" AND "x_1"."Color_1" IS NOT NULL AND "x_1"."Color_1" OR NOT "x_1"."Color")
221+
NOT ("x_1"."Color_1" IS NOT NULL AND "x_1"."Color_1" OR NOT "x_1"."Color")
222222

223223
BeforeExecute
224224
-- Firebird.4 Firebird4
@@ -304,7 +304,7 @@ FROM
304304
"t1"."cond"
305305
) "x_1"
306306
WHERE
307-
"x_1"."Color" AND "x_1"."Color_1" IS NOT NULL AND "x_1"."Color_1" OR
307+
"x_1"."Color_1" IS NOT NULL AND "x_1"."Color_1" OR
308308
NOT "x_1"."Color"
309309

310310
BeforeExecute
@@ -391,7 +391,7 @@ FROM
391391
"t1"."cond"
392392
) "x_1"
393393
WHERE
394-
NOT ("x_1"."Size_1" AND "x_1"."Color" IS NULL AND "x_1"."Size_2" OR NOT "x_1"."Size_1")
394+
NOT ("x_1"."Color" IS NULL AND "x_1"."Size_2" OR NOT "x_1"."Size_1")
395395

396396
BeforeExecute
397397
-- Firebird.4 Firebird4
@@ -477,8 +477,7 @@ FROM
477477
"t1"."cond"
478478
) "x_1"
479479
WHERE
480-
"x_1"."Size_1" AND "x_1"."Color" IS NULL AND "x_1"."Size_2" OR
481-
NOT "x_1"."Size_1"
480+
"x_1"."Color" IS NULL AND "x_1"."Size_2" OR NOT "x_1"."Size_1"
482481

483482
BeforeExecute
484483
-- Firebird.4 Firebird4

Firebird.4.LinqService/Tests/Linq/DecompositionTests/Tests.Linq.DecompositionTests.ExtractValuesAndCombiningCoalesce(Firebird.4.LinqService).sql

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ FROM
5757
"Item" "x"
5858
) "x_1"
5959
WHERE
60-
NOT ("x_1"."cond" AND ("x_1"."cond_1" AND "x_1"."cond_2" OR NOT "x_1"."cond_1") OR NOT "x_1"."cond" AND NOT "x_1"."cond_3")
60+
NOT ("x_1"."cond" AND "x_1"."cond_2" OR NOT "x_1"."cond" AND NOT "x_1"."cond_3")
6161

6262
BeforeExecute
6363
-- Firebird.4 Firebird4
@@ -102,8 +102,7 @@ FROM
102102
"Item" "x"
103103
) "x_1"
104104
WHERE
105-
"x_1"."cond" AND ("x_1"."cond_1" AND "x_1"."cond_2" OR NOT "x_1"."cond_1") OR
106-
NOT "x_1"."cond" AND NOT "x_1"."cond_3"
105+
"x_1"."cond" AND "x_1"."cond_2" OR NOT "x_1"."cond" AND NOT "x_1"."cond_3"
107106

108107
BeforeExecute
109108
-- Firebird.4 Firebird4
@@ -148,7 +147,7 @@ FROM
148147
"Item" "x"
149148
) "x_1"
150149
WHERE
151-
NOT (NOT "x_1"."cond" AND ("x_1"."cond_2" AND "x_1"."cond_3" OR NOT "x_1"."cond_2"))
150+
NOT (NOT "x_1"."cond" AND ("x_1"."cond_3" OR NOT "x_1"."cond_2"))
152151

153152
BeforeExecute
154153
-- Firebird.4 Firebird4
@@ -193,7 +192,7 @@ FROM
193192
"Item" "x"
194193
) "x_1"
195194
WHERE
196-
NOT "x_1"."cond" AND ("x_1"."cond_2" AND "x_1"."cond_3" OR NOT "x_1"."cond_2")
195+
NOT "x_1"."cond" AND ("x_1"."cond_3" OR NOT "x_1"."cond_2")
197196

198197
BeforeExecute
199198
-- Firebird.4 Firebird4

Firebird.4.LinqService/Tests/Linq/PredicateTests/Tests.Linq.PredicateTests.Test_ConditionOptimization(Firebird.4.LinqService,False).sql

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ SELECT
3636
FROM
3737
"BooleanTable" "r"
3838
WHERE
39-
("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND "r"."Value1" > "r"."Value4" OR
40-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
39+
"r"."Value5" <> 0 OR
40+
"r"."Value5" IS NULL OR
41+
"r"."Value1" <= "r"."Value4" OR
42+
"r"."Value4" IS NULL
4143

4244
BeforeExecute
4345
-- Firebird.4 Firebird4
@@ -63,8 +65,8 @@ SELECT
6365
FROM
6466
"BooleanTable" "r"
6567
WHERE
66-
"r"."Value5" > 0 AND "r"."Value1" > "r"."Value4" OR
67-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
68+
"r"."Value5" > 0 OR "r"."Value1" <= "r"."Value4" OR
69+
"r"."Value4" IS NULL
6870

6971
BeforeExecute
7072
-- Firebird.4 Firebird4
@@ -90,8 +92,8 @@ SELECT
9092
FROM
9193
"BooleanTable" "r"
9294
WHERE
93-
"r"."Value5" >= 0 AND "r"."Value1" > "r"."Value4" OR
94-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
95+
"r"."Value5" >= 0 OR "r"."Value1" <= "r"."Value4" OR
96+
"r"."Value4" IS NULL
9597

9698
BeforeExecute
9799
-- Firebird.4 Firebird4
@@ -354,8 +356,10 @@ SELECT
354356
FROM
355357
"BooleanTable" "r"
356358
WHERE
357-
("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND "r"."Value1" > "r"."Value4" OR
358-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
359+
"r"."Value5" <> 0 OR
360+
"r"."Value5" IS NULL OR
361+
"r"."Value1" <= "r"."Value4" OR
362+
"r"."Value4" IS NULL
359363

360364
BeforeExecute
361365
-- Firebird.4 Firebird4
@@ -830,7 +834,8 @@ SELECT
830834
FROM
831835
"BooleanTable" "r"
832836
WHERE
833-
"r"."Value1" > "r"."Value4" OR ("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
837+
"r"."Value1" > "r"."Value4" OR "r"."Value5" <> 0 OR
838+
"r"."Value5" IS NULL
834839

835840
BeforeExecute
836841
-- Firebird.4 Firebird4
@@ -856,7 +861,7 @@ SELECT
856861
FROM
857862
"BooleanTable" "r"
858863
WHERE
859-
"r"."Value1" > "r"."Value4" OR "r"."Value5" > 0 AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
864+
"r"."Value1" > "r"."Value4" OR "r"."Value5" > 0
860865

861866
BeforeExecute
862867
-- Firebird.4 Firebird4
@@ -882,7 +887,7 @@ SELECT
882887
FROM
883888
"BooleanTable" "r"
884889
WHERE
885-
"r"."Value1" > "r"."Value4" OR "r"."Value5" >= 0 AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
890+
"r"."Value1" > "r"."Value4" OR "r"."Value5" >= 0
886891

887892
BeforeExecute
888893
-- Firebird.4 Firebird4
@@ -1145,7 +1150,8 @@ SELECT
11451150
FROM
11461151
"BooleanTable" "r"
11471152
WHERE
1148-
"r"."Value1" > "r"."Value4" OR ("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
1153+
"r"."Value1" > "r"."Value4" OR "r"."Value5" <> 0 OR
1154+
"r"."Value5" IS NULL
11491155

11501156
BeforeExecute
11511157
-- Firebird.4 Firebird4

Firebird.4.LinqService/Tests/Linq/PredicateTests/Tests.Linq.PredicateTests.Test_ConditionOptimization(Firebird.4.LinqService,True).sql

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ SELECT
3636
FROM
3737
"BooleanTable" "r"
3838
WHERE
39-
("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND "r"."Value1" > "r"."Value4" OR
40-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
39+
"r"."Value5" <> 0 OR
40+
"r"."Value5" IS NULL OR
41+
"r"."Value1" <= "r"."Value4" OR
42+
"r"."Value4" IS NULL
4143

4244
BeforeExecute
4345
-- Firebird.4 Firebird4
@@ -63,8 +65,8 @@ SELECT
6365
FROM
6466
"BooleanTable" "r"
6567
WHERE
66-
"r"."Value5" > 0 AND "r"."Value1" > "r"."Value4" OR
67-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
68+
"r"."Value5" > 0 OR "r"."Value1" <= "r"."Value4" OR
69+
"r"."Value4" IS NULL
6870

6971
BeforeExecute
7072
-- Firebird.4 Firebird4
@@ -90,8 +92,8 @@ SELECT
9092
FROM
9193
"BooleanTable" "r"
9294
WHERE
93-
"r"."Value5" >= 0 AND "r"."Value1" > "r"."Value4" OR
94-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
95+
"r"."Value5" >= 0 OR "r"."Value1" <= "r"."Value4" OR
96+
"r"."Value4" IS NULL
9597

9698
BeforeExecute
9799
-- Firebird.4 Firebird4
@@ -354,8 +356,10 @@ SELECT
354356
FROM
355357
"BooleanTable" "r"
356358
WHERE
357-
("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND "r"."Value1" > "r"."Value4" OR
358-
"r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL
359+
"r"."Value5" <> 0 OR
360+
"r"."Value5" IS NULL OR
361+
"r"."Value1" <= "r"."Value4" OR
362+
"r"."Value4" IS NULL
359363

360364
BeforeExecute
361365
-- Firebird.4 Firebird4
@@ -830,7 +834,8 @@ SELECT
830834
FROM
831835
"BooleanTable" "r"
832836
WHERE
833-
"r"."Value1" > "r"."Value4" OR ("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
837+
"r"."Value1" > "r"."Value4" OR "r"."Value5" <> 0 OR
838+
"r"."Value5" IS NULL
834839

835840
BeforeExecute
836841
-- Firebird.4 Firebird4
@@ -856,7 +861,7 @@ SELECT
856861
FROM
857862
"BooleanTable" "r"
858863
WHERE
859-
"r"."Value1" > "r"."Value4" OR "r"."Value5" > 0 AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
864+
"r"."Value1" > "r"."Value4" OR "r"."Value5" > 0
860865

861866
BeforeExecute
862867
-- Firebird.4 Firebird4
@@ -882,7 +887,7 @@ SELECT
882887
FROM
883888
"BooleanTable" "r"
884889
WHERE
885-
"r"."Value1" > "r"."Value4" OR "r"."Value5" >= 0 AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
890+
"r"."Value1" > "r"."Value4" OR "r"."Value5" >= 0
886891

887892
BeforeExecute
888893
-- Firebird.4 Firebird4
@@ -1145,7 +1150,8 @@ SELECT
11451150
FROM
11461151
"BooleanTable" "r"
11471152
WHERE
1148-
"r"."Value1" > "r"."Value4" OR ("r"."Value5" <> 0 OR "r"."Value5" IS NULL) AND ("r"."Value1" <= "r"."Value4" OR "r"."Value4" IS NULL)
1153+
"r"."Value1" > "r"."Value4" OR "r"."Value5" <> 0 OR
1154+
"r"."Value5" IS NULL
11491155

11501156
BeforeExecute
11511157
-- Firebird.4 Firebird4

0 commit comments

Comments
 (0)