Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baselines for https://github.com/linq2db/linq2db/pull/4839 #1365

Draft
wants to merge 40 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0a0a9bb
[Windows / SQLite (specialized tests)] baselines
Feb 22, 2025
57f0c25
[Windows / SQLite (both providers)] baselines
Feb 22, 2025
091ff44
[Linux / ClickHouse MySql] baselines
Feb 22, 2025
d547e21
[Linux / ClickHouse Client] baselines
Feb 22, 2025
4b4e384
[Linux / ClickHouse Octonica] baselines
Feb 22, 2025
d2b5b27
[Windows / SQL Server 2005] baselines
Feb 23, 2025
2b8111b
[Windows / SQLite (specialized tests)] baselines
Feb 23, 2025
ade89f7
[Windows / SQLite (both providers)] baselines
Feb 23, 2025
c0337cd
[Windows / SQL Server 2014] baselines
Feb 23, 2025
12e91a5
[Windows / SQL Server 2012] baselines
Feb 23, 2025
bad39fd
[Windows / SQL Server 2016] baselines
Feb 23, 2025
358b190
[Windows / SQL Server 2008] baselines
Feb 23, 2025
a6acf21
[Linux / DB2 LUW 11.5] baselines
Feb 23, 2025
2f331a0
[Linux / Informix 14.10] baselines
Feb 23, 2025
571a10e
[Windows / SQL Server 2017] baselines
Feb 23, 2025
c602673
[Linux / MariaDB 11] baselines
Feb 23, 2025
5f001ce
[Windows / SQL Server 2019] baselines
Feb 23, 2025
631c411
[Linux / MySQL 5.7 (both providers)] baselines
Feb 23, 2025
d888318
[Linux / MySQL 9 (both providers)] baselines
Feb 23, 2025
2020096
[Windows / Access MDB (Jet/ODBC)] baselines
Feb 23, 2025
558f761
[Windows / Access ACE (OLEDB/ODBC) x86] baselines
Feb 23, 2025
34c0786
[Linux / PostgreSQL 13] baselines
Feb 23, 2025
42bb55e
[Linux / PostgreSQL 14] baselines
Feb 23, 2025
e9100db
[Windows / SQL Server 2022] baselines
Feb 23, 2025
66a79f8
[Windows / SQL Server EXTRAS] baselines
Feb 23, 2025
0637512
[Linux / PostgreSQL 17] baselines
Feb 23, 2025
0ff711d
[Linux / PostgreSQL 16] baselines
Feb 23, 2025
1a0e3c6
[Linux / PostgreSQL 15] baselines
Feb 23, 2025
3c0c2d5
[Linux / SAP HANA 2] baselines
Feb 23, 2025
f6cabdf
[Linux / Firebird 2.5] baselines
Feb 24, 2025
0d86311
[Linux / Firebird 3.0] baselines
Feb 24, 2025
517fa83
[Linux / Firebird 5.0] baselines
Feb 24, 2025
9df42d1
[Linux / Firebird 4.0] baselines
Feb 24, 2025
03d9b6a
[Linux / Oracle 11g XE] baselines
Feb 24, 2025
adea8a8
[Linux / Oracle 12c] baselines
Feb 24, 2025
10d6813
[Linux / Oracle 23c] baselines
Feb 24, 2025
55c08d8
[Linux / Oracle 18c] baselines
Feb 24, 2025
b2dfc3c
[Linux / Oracle 21c] baselines
Feb 24, 2025
63c6467
[Linux / Sybase ASE 16] baselines
Feb 24, 2025
9bc2a20
[Linux / Oracle 19c] baselines
Feb 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ SET @personId = 0
SELECT
COUNT(*) > 0
FROM
[Person] [t1],
[Person] [t1]
WHERE
(
SELECT
COUNT([t2].[PersonID]) as [cond]
COUNT([t2].[PersonID])
FROM
[Patient] [t2]
WHERE
Expand All @@ -27,22 +28,20 @@ FROM
WHERE
[t3].[PersonID] = ?
)
) [t4],
) = 0 AND
(
SELECT
COUNT([t5].[PersonID]) as [cond]
COUNT([t4].[PersonID])
FROM
[Patient] [t5]
[Patient] [t4]
WHERE
[t5].[PersonID] = ? AND [t5].[PersonID] NOT IN (
[t4].[PersonID] = ? AND [t4].[PersonID] NOT IN (
SELECT
[t6].[PersonID]
[t5].[PersonID]
FROM
[Patient] [t6]
[Patient] [t5]
WHERE
[t6].[PersonID] = ?
[t5].[PersonID] = ?
)
) [t7]
WHERE
[t4].[cond] = 0 AND [t7].[cond] = 0
) = 0

Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ SET @personId = 0
SELECT
COUNT(*) > 0
FROM
[Person] [t1],
[Person] [t1]
WHERE
(
SELECT
COUNT([t2].[PersonID]) as [cond]
COUNT([t2].[PersonID])
FROM
[Patient] [t2]
WHERE
Expand All @@ -27,22 +28,20 @@ FROM
WHERE
[t3].[PersonID] = ?
)
) [t4],
) = 0 AND
(
SELECT
COUNT([t5].[PersonID]) as [cond]
COUNT([t4].[PersonID])
FROM
[Patient] [t5]
[Patient] [t4]
WHERE
[t5].[PersonID] = ? AND [t5].[PersonID] NOT IN (
[t4].[PersonID] = ? AND [t4].[PersonID] NOT IN (
SELECT
[t6].[PersonID]
[t5].[PersonID]
FROM
[Patient] [t6]
[Patient] [t5]
WHERE
[t6].[PersonID] = ?
[t5].[PersonID] = ?
)
) [t7]
WHERE
[t4].[cond] = 0 AND [t7].[cond] = 0
) = 0

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ SELECT
[t].[Id],
[t].[BoolValue]
FROM
[WhereWithBool] [t],
[WhereWithBool] [x]
[WhereWithBool] [t]
WHERE
[x].[BoolValue] AND [x].[Id] = 1
(
SELECT
[x].[BoolValue]
FROM
[WhereWithBool] [x]
WHERE
[x].[Id] = 1
)

Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,27 @@ WHERE
SELECT
*
FROM
[Person] [e],
(
[Person] [e]
WHERE
[e].[FirstName] LIKE ? AND [e].[PersonID] = (
SELECT TOP 1
[d].[PersonID] as [cond]
[d].[PersonID]
FROM
[Patient] [d]
) [t2]
WHERE
[e].[FirstName] LIKE ? AND [e].[PersonID] = [t2].[cond]
)
) OR
EXISTS(
SELECT
*
FROM
[Person] [e_1],
(
[Person] [e_1]
WHERE
[e_1].[FirstName] LIKE ? AND [e_1].[PersonID] = (
SELECT TOP 1
[d_1].[PersonID] as [cond]
[d_1].[PersonID]
FROM
[Patient] [d_1]
) [t3]
WHERE
[e_1].[FirstName] LIKE ? AND [e_1].[PersonID] = [t3].[cond]
)
)
ORDER BY
[t1].[PersonID]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,29 @@ WHERE
SELECT
*
FROM
[Person] [e],
(
[Person] [e]
WHERE
[e].[PersonID] = [p].[PersonID] AND [e].[FirstName] LIKE ? AND
[e].[PersonID] = (
SELECT TOP 1
[d].[PersonID] as [cond]
[d].[PersonID]
FROM
[Patient] [d]
) [t1]
WHERE
[e].[PersonID] = [p].[PersonID] AND [e].[FirstName] LIKE ? AND
[e].[PersonID] = [t1].[cond]
)
) OR
EXISTS(
SELECT
*
FROM
[Person] [e_1],
(
[Person] [e_1]
WHERE
[e_1].[PersonID] = [p].[PersonID] AND [e_1].[FirstName] LIKE ? AND
[e_1].[PersonID] = (
SELECT TOP 1
[d_1].[PersonID] as [cond]
[d_1].[PersonID]
FROM
[Patient] [d_1]
) [t2]
WHERE
[e_1].[PersonID] = [p].[PersonID] AND [e_1].[FirstName] LIKE ? AND
[e_1].[PersonID] = [t2].[cond]
)
)
ORDER BY
[p].[PersonID]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ SET @personId = 0
SELECT
COUNT(*) > 0
FROM
[Person] [t1],
[Person] [t1]
WHERE
(
SELECT
COUNT([t2].[PersonID]) as [cond]
COUNT([t2].[PersonID])
FROM
[Patient] [t2]
WHERE
Expand All @@ -27,22 +28,20 @@ FROM
WHERE
[t3].[PersonID] = ?
)
) [t4],
) = 0 AND
(
SELECT
COUNT([t5].[PersonID]) as [cond]
COUNT([t4].[PersonID])
FROM
[Patient] [t5]
[Patient] [t4]
WHERE
[t5].[PersonID] = ? AND [t5].[PersonID] NOT IN (
[t4].[PersonID] = ? AND [t4].[PersonID] NOT IN (
SELECT
[t6].[PersonID]
[t5].[PersonID]
FROM
[Patient] [t6]
[Patient] [t5]
WHERE
[t6].[PersonID] = ?
[t5].[PersonID] = ?
)
) [t7]
WHERE
[t4].[cond] = 0 AND [t7].[cond] = 0
) = 0

Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ SET @personId = 0
SELECT
COUNT(*) > 0
FROM
[Person] [t1],
[Person] [t1]
WHERE
(
SELECT
COUNT([t2].[PersonID]) as [cond]
COUNT([t2].[PersonID])
FROM
[Patient] [t2]
WHERE
Expand All @@ -27,22 +28,20 @@ FROM
WHERE
[t3].[PersonID] = ?
)
) [t4],
) = 0 AND
(
SELECT
COUNT([t5].[PersonID]) as [cond]
COUNT([t4].[PersonID])
FROM
[Patient] [t5]
[Patient] [t4]
WHERE
[t5].[PersonID] = ? AND [t5].[PersonID] NOT IN (
[t4].[PersonID] = ? AND [t4].[PersonID] NOT IN (
SELECT
[t6].[PersonID]
[t5].[PersonID]
FROM
[Patient] [t6]
[Patient] [t5]
WHERE
[t6].[PersonID] = ?
[t5].[PersonID] = ?
)
) [t7]
WHERE
[t4].[cond] = 0 AND [t7].[cond] = 0
) = 0

Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,25 @@ SELECT
[d].[Distributor_Name],
[cp].[Street_Number],
[cp].[Street_Name],
[c_1].[City_Name],
(
SELECT
[c_1].[City_Name]
FROM
[Cities] [c_1]
WHERE
[c_1].[City_Code] = [cp].[City_Code] OR [c_1].[City_Code] IS NULL AND [cp].[City_Code] IS NULL
),
[cp].[State],
[cp].[Zip_Code],
[cp].[Zip_Plus_4],
[cd].[Effective_Date]
FROM
((((([Contract_Distributor_Agent] [cda]
(((([Contract_Distributor_Agent] [cda]
INNER JOIN [Agent] [a] ON ([cda].[Agent_Id] = [a].[Agent_Id]))
INNER JOIN [Distributor] [d] ON ([cda].[Distributor_Id] = [d].[Distributor_Id]))
INNER JOIN [Distributor_Commercial_Propert] [dcp] ON ([d].[Distributor_Id] = [dcp].[Distributor_Id]))
INNER JOIN [Commercial_Property] [cp] ON ([dcp].[Commercial_Property_Id] = [cp].[Commercial_Property_Id]))
INNER JOIN [Contract_Dates] [cd] ON ([cda].[Contract_Id] = [cd].[Contract_Id]))
INNER JOIN [Cities] [c_1] ON ([c_1].[City_Code] = [cp].[City_Code] OR [c_1].[City_Code] IS NULL AND [cp].[City_Code] IS NULL)
INNER JOIN [Contract_Dates] [cd] ON ([cda].[Contract_Id] = [cd].[Contract_Id])
WHERE
[cda].[Contract_Id] = 198827882 AND
[cda].[Distributor_Type_Code] = 'CC' AND
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ SELECT
[t].[Id],
[t].[BoolValue]
FROM
[WhereWithBool] [t],
[WhereWithBool] [x]
[WhereWithBool] [t]
WHERE
[x].[BoolValue] AND [x].[Id] = 1
(
SELECT
[x].[BoolValue]
FROM
[WhereWithBool] [x]
WHERE
[x].[Id] = 1
)

Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,27 @@ WHERE
SELECT
*
FROM
[Person] [e],
(
[Person] [e]
WHERE
[e].[FirstName] LIKE ? AND [e].[PersonID] = (
SELECT TOP 1
[d].[PersonID] as [cond]
[d].[PersonID]
FROM
[Patient] [d]
) [t2]
WHERE
[e].[FirstName] LIKE ? AND [e].[PersonID] = [t2].[cond]
)
) OR
EXISTS(
SELECT
*
FROM
[Person] [e_1],
(
[Person] [e_1]
WHERE
[e_1].[FirstName] LIKE ? AND [e_1].[PersonID] = (
SELECT TOP 1
[d_1].[PersonID] as [cond]
[d_1].[PersonID]
FROM
[Patient] [d_1]
) [t3]
WHERE
[e_1].[FirstName] LIKE ? AND [e_1].[PersonID] = [t3].[cond]
)
)
ORDER BY
[t1].[PersonID]
Expand Down
Loading