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/4693 #1286

Draft
wants to merge 46 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
692daa9
[Windows / SQLite (both providers)] baselines
Oct 23, 2024
8407c94
[Windows / SQL Server 2019] baselines
Oct 23, 2024
a729070
[Windows / SQL Server EXTRAS] baselines
Oct 23, 2024
de0e64e
[Windows / SQL Server 2016] baselines
Oct 23, 2024
ff8e122
[Windows / SQL Server 2017] baselines
Oct 23, 2024
62d74b9
[Windows / SQL Server 2022] baselines
Oct 23, 2024
ec8f03f
[Linux / SQL Server 2019] baselines
Oct 23, 2024
0e03310
[Linux / MySQL 9 (both providers)] baselines
Oct 24, 2024
7985ec0
[Linux / MySQL 5.7 (both providers)] baselines
Oct 24, 2024
171ff21
[Windows / SQL Server EXTRAS] baselines
Oct 24, 2024
b4b15bf
[Linux / DB2 LUW 11.5] baselines
Oct 24, 2024
652a0bd
[Linux / Informix 14.10] baselines
Oct 24, 2024
54b47ce
[Linux / SQL Server 2019] baselines
Oct 25, 2024
1a38248
[Windows / SQL Server EXTRAS] baselines
Oct 25, 2024
bcc67cd
[Linux / SQL Server 2019] baselines
Oct 26, 2024
07487f2
[Windows / SQL Server EXTRAS] baselines
Oct 26, 2024
17a02c3
[Mac / Firebird 5.0] baselines
Oct 27, 2024
1312af7
[Mac / Firebird 4.0] baselines
Oct 27, 2024
de9ad3c
[Mac / MySQL 9 (both providers)] baselines
Oct 28, 2024
79deb93
[Mac / MySQL 5.7 (both providers)] baselines
Oct 28, 2024
0f74ec1
[Linux / Firebird 5.0] baselines
Oct 28, 2024
7ca735d
[Linux / MySQL 5.7 (both providers)] baselines
Oct 28, 2024
b594b7f
[Linux / MySQL 9 (both providers)] baselines
Oct 28, 2024
02f3d6f
[Linux / SQL Server 2019] baselines
Oct 28, 2024
6fbdd2d
[Linux / Firebird 4.0] baselines
Oct 28, 2024
58f3687
[Windows / SQL Server EXTRAS] baselines
Oct 28, 2024
ccec335
[Linux / SQL Server 2019] baselines
Oct 28, 2024
24bf558
[Mac / Firebird 4.0] baselines
Oct 28, 2024
4dfd412
[Mac / Firebird 5.0] baselines
Oct 28, 2024
f893ef1
[Mac / MySQL 5.7 (both providers)] baselines
Oct 28, 2024
1a8268a
[Mac / MySQL 9 (both providers)] baselines
Oct 28, 2024
e97a400
[Windows / SQL Server EXTRAS] baselines
Oct 28, 2024
630fd23
[Linux / Firebird 4.0] baselines
Oct 29, 2024
17cacf2
[Linux / Firebird 5.0] baselines
Oct 29, 2024
5df9e94
[Linux / MySQL 5.7 (both providers)] baselines
Oct 29, 2024
c9c11e9
[Linux / MySQL 9 (both providers)] baselines
Oct 29, 2024
e0d4ff4
[Linux / SQL Server 2019] baselines
Oct 29, 2024
2f77929
[Windows / SQL Server EXTRAS] baselines
Oct 29, 2024
0c68bf9
[Mac / Firebird 4.0] baselines
Oct 29, 2024
4019033
[Mac / Firebird 5.0] baselines
Oct 29, 2024
e441dac
[Mac / MySQL 5.7 (both providers)] baselines
Oct 29, 2024
e9d7bce
[Linux / Firebird 4.0] baselines
Oct 29, 2024
86aec81
[Linux / MySQL 5.7 (both providers)] baselines
Oct 29, 2024
228041d
[Linux / SQL Server 2019] baselines
Oct 29, 2024
6672bda
[Linux / Firebird 5.0] baselines
Oct 29, 2024
a49c467
[Mac / MySQL 9 (both providers)] baselines
Oct 30, 2024
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
@@ -0,0 +1,14 @@
BeforeExecute
-- DB2 DB2.LUW DB2LUW

SELECT
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."FirstName",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."PersonID",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."LastName",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."MiddleName",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."Gender"
FROM
"Person" "abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"
WHERE
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."PersonID" = 1

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
BeforeExecute
-- DB2 DB2.LUW DB2LUW

SELECT
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."FirstName",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."PersonID",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."LastName",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."MiddleName",
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."Gender"
FROM
"Person" "abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"
WHERE
"abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcd"."PersonID" = 1

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
BeforeExecute
-- Informix.DB2 Informix

WITH CTE_1
(
ID,
FirstName,
LastName,
MiddleName,
Gender
)
AS
(
SELECT
t1.ID,
t1.FirstName,
t1.LastName,
t1.MiddleName,
t1.Gender
FROM
(
SELECT 10::Int AS ID, 'FN1'::NVarChar(255) AS FirstName, 'LN1'::NVarChar(255) AS LastName, NULL::NVarChar(255) AS MiddleName, 'M'::Char(1) AS Gender FROM table(set{1})
UNION ALL
SELECT 11::Int, 'FN2'::NVarChar(255), NULL::NVarChar(255), NULL::NVarChar(255), 'F'::Char(1) FROM table(set{1})) t1
)
SELECT
p.FirstName,
p.ID,
p.LastName,
p.MiddleName,
p.Gender
FROM
CTE_1 p
WHERE
p.ID = 11

Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
BeforeExecute
-- Informix.DB2 Informix

DROP TABLE IF EXISTS Issue3360Table1

BeforeExecute
-- Informix.DB2 Informix

CREATE TABLE IF NOT EXISTS Issue3360Table1
(
Id Int NOT NULL,
Byte SmallInt NOT NULL,
ByteN SmallInt NULL,
Guid VARCHAR(36) NOT NULL,
GuidN VARCHAR(36) NULL,
Enum NChar(11) NOT NULL,
EnumN NChar(11) NULL,
Bool BOOLEAN NOT NULL,
BoolN BOOLEAN NULL,

PRIMARY KEY (Id)
)

BeforeExecute
-- Informix.DB2 Informix
DECLARE @Id Integer(4) -- Int32
SET @Id = 1
DECLARE @Byte SmallInt(2) -- Int16
SET @Byte = 0
DECLARE @ByteN SmallInt -- Int16
SET @ByteN = NULL
DECLARE @Guid Char(36) -- StringFixedLength
SET @Guid = '00000000-0000-0000-0000-000000000000'
DECLARE @GuidN Char -- StringFixedLength
SET @GuidN = NULL
DECLARE @Enum Char(11) -- StringFixedLength
SET @Enum = 'ENUM1_VALUE'
DECLARE @EnumN Char -- StringFixedLength
SET @EnumN = NULL
DECLARE @Bool Char(1) -- StringFixedLength
SET @Bool = 'f'
DECLARE @BoolN SmallInt -- Boolean
SET @BoolN = NULL

INSERT INTO Issue3360Table1
(
Id,
Byte,
ByteN,
Guid,
GuidN,
Enum,
EnumN,
Bool,
BoolN
)
VALUES
(
@Id,
@Byte,
@ByteN,
@Guid,
@GuidN,
@Enum,
@EnumN,
@Bool,
@BoolN
)

BeforeExecute
-- Informix.DB2 Informix
DECLARE @Id Integer(4) -- Int32
SET @Id = 2
DECLARE @Byte SmallInt(2) -- Int16
SET @Byte = 1
DECLARE @ByteN SmallInt(2) -- Int16
SET @ByteN = 2
DECLARE @Guid Char(36) -- StringFixedLength
SET @Guid = 'bc7b663d-0fde-4327-8f92-5d8cc3a11d11'
DECLARE @GuidN Char(36) -- StringFixedLength
SET @GuidN = 'a948600d-de21-4f74-8ac2-9516b287076e'
DECLARE @Enum Char(11) -- StringFixedLength
SET @Enum = 'ENUM1_VALUE'
DECLARE @EnumN Char(11) -- StringFixedLength
SET @EnumN = 'ENUM2_VALUE'
DECLARE @Bool Char(1) -- StringFixedLength
SET @Bool = 't'
DECLARE @BoolN Char(1) -- StringFixedLength
SET @BoolN = 'f'

INSERT INTO Issue3360Table1
(
Id,
Byte,
ByteN,
Guid,
GuidN,
Enum,
EnumN,
Bool,
BoolN
)
VALUES
(
@Id,
@Byte,
@ByteN,
@Guid,
@GuidN,
@Enum,
@EnumN,
@Bool,
@BoolN
)

BeforeExecute
-- Informix.DB2 Informix
DECLARE @Id Integer(4) -- Int32
SET @Id = 4
DECLARE @Byte SmallInt(2) -- Int16
SET @Byte = 3
DECLARE @ByteN SmallInt(2) -- Int16
SET @ByteN = 4
DECLARE @Guid Char(36) -- StringFixedLength
SET @Guid = 'bd3973a5-4323-4dd8-9f4f-df9f93e2a627'
DECLARE @GuidN Char(36) -- StringFixedLength
SET @GuidN = 'bc7b663d-0fde-4327-8f92-5d8cc3a11d11'
DECLARE @Enum Char(11) -- StringFixedLength
SET @Enum = 'ENUM1_VALUE'
DECLARE @EnumN Char(11) -- StringFixedLength
SET @EnumN = 'ENUM2_VALUE'
DECLARE @Bool Char(1) -- StringFixedLength
SET @Bool = 'f'
DECLARE @BoolN Char(1) -- StringFixedLength
SET @BoolN = 't'

INSERT INTO Issue3360Table1
(
Id,
Byte,
ByteN,
Guid,
GuidN,
Enum,
EnumN,
Bool,
BoolN
)
VALUES
(
@Id,
@Byte,
@ByteN,
@Guid,
@GuidN,
@Enum,
@EnumN,
@Bool,
@BoolN
)

BeforeExecute
-- Informix.DB2 Informix

WITH cte
(
Id,
Byte,
ByteN,
Guid,
GuidN,
Enum,
EnumN,
Bool,
BoolN
)
AS
(
SELECT
r.Id,
r.Byte,
r.Byte,
r.Guid,
r.Guid,
NULL::NChar(11),
NULL::NChar(11),
r.Bool,
r.Bool
FROM
Issue3360Table1 r
WHERE
r.Id = 2
UNION ALL
SELECT
r_1.Id,
r_1.Byte,
r_1.ByteN,
r_1.Guid,
r_1.GuidN,
r_1.Enum,
r_1.EnumN,
r_1.Bool,
r_1.BoolN
FROM
Issue3360Table1 r_1
INNER JOIN cte parent ON r_1.Id = parent.Id + 2
)
SELECT
t1.Id,
t1.Byte,
t1.ByteN,
t1.Guid,
t1.GuidN,
t1.Enum,
t1.EnumN,
t1.Bool,
t1.BoolN
FROM
cte t1
ORDER BY
t1.Id

BeforeExecute
-- Informix.DB2 Informix

DROP TABLE IF EXISTS Issue3360Table1

Loading