-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Baselines for linq2db/linq2db#3245 (#682)
* [Linux / NETCOREAPP2.1 / Oracle 11g XE] baselines * [Linux / NETCOREAPP2.1 / Oracle 12c] baselines Co-authored-by: Azure Pipelines Bot <azp@linq2db.com>
- Loading branch information
Showing
18 changed files
with
905 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
...rovider.OracleTests.TestNativeIdentityBulkCopy(Oracle.Managed,Default,True,InsertAll).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
CREATE TABLE "NativeIdentity" | ||
( | ||
"Id" NUMBER GENERATED BY DEFAULT AS IDENTITY NOT NULL, | ||
"Field" Int NOT NULL | ||
) | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
INSERT ALL | ||
INTO "NativeIdentity" ("Id", "Field") VALUES (4,11) | ||
INTO "NativeIdentity" ("Id", "Field") VALUES (8,12) | ||
SELECT * FROM dual | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
SELECT | ||
t1."Id", | ||
t1."Field" | ||
FROM | ||
"NativeIdentity" t1 | ||
ORDER BY | ||
t1."Field" | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
BEGIN | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TRIGGER "TIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -4080 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP SEQUENCE "SIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -2289 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TABLE "NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -942 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
END; | ||
|
62 changes: 62 additions & 0 deletions
62
...ovider.OracleTests.TestNativeIdentityBulkCopy(Oracle.Managed,Default,True,InsertDual).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
CREATE TABLE "NativeIdentity" | ||
( | ||
"Id" NUMBER GENERATED BY DEFAULT AS IDENTITY NOT NULL, | ||
"Field" Int NOT NULL | ||
) | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
INSERT INTO "NativeIdentity" | ||
( | ||
"Id", | ||
"Field" | ||
) | ||
|
||
SELECT 4,11 FROM DUAL UNION ALL | ||
SELECT 8,12 FROM DUAL | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
SELECT | ||
t1."Id", | ||
t1."Field" | ||
FROM | ||
"NativeIdentity" t1 | ||
ORDER BY | ||
t1."Field" | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
BEGIN | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TRIGGER "TIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -4080 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP SEQUENCE "SIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -2289 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TABLE "NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -942 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
END; | ||
|
59 changes: 59 additions & 0 deletions
59
...ovider.OracleTests.TestNativeIdentityBulkCopy(Oracle.Managed,Default,True,InsertInto).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
CREATE TABLE "NativeIdentity" | ||
( | ||
"Id" NUMBER GENERATED BY DEFAULT AS IDENTITY NOT NULL, | ||
"Field" Int NOT NULL | ||
) | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
DECLARE @:p1 Int32 | ||
SET @:p1 = System.Object[] | ||
DECLARE @:p2 Int32 | ||
SET @:p2 = System.Object[] | ||
|
||
INSERT INTO "NativeIdentity" ("Id", "Field") VALUES (:p1, :p2) | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
SELECT | ||
t1."Id", | ||
t1."Field" | ||
FROM | ||
"NativeIdentity" t1 | ||
ORDER BY | ||
t1."Field" | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
BEGIN | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TRIGGER "TIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -4080 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP SEQUENCE "SIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -2289 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TABLE "NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -942 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
END; | ||
|
61 changes: 61 additions & 0 deletions
61
....OracleTests.TestNativeIdentityBulkCopy(Oracle.Managed,MultipleRows,False,InsertDual).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
CREATE TABLE "NativeIdentity" | ||
( | ||
"Id" NUMBER GENERATED BY DEFAULT AS IDENTITY NOT NULL, | ||
"Field" Int NOT NULL | ||
) | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
INSERT INTO "NativeIdentity" | ||
( | ||
"Field" | ||
) | ||
|
||
SELECT 11 FROM DUAL UNION ALL | ||
SELECT 12 FROM DUAL | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
SELECT | ||
t1."Id", | ||
t1."Field" | ||
FROM | ||
"NativeIdentity" t1 | ||
ORDER BY | ||
t1."Field" | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
BEGIN | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TRIGGER "TIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -4080 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP SEQUENCE "SIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -2289 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TABLE "NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -942 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
END; | ||
|
57 changes: 57 additions & 0 deletions
57
....OracleTests.TestNativeIdentityBulkCopy(Oracle.Managed,MultipleRows,False,InsertInto).sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
CREATE TABLE "NativeIdentity" | ||
( | ||
"Id" NUMBER GENERATED BY DEFAULT AS IDENTITY NOT NULL, | ||
"Field" Int NOT NULL | ||
) | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
DECLARE @:p1 Int32 | ||
SET @:p1 = System.Object[] | ||
|
||
INSERT INTO "NativeIdentity" ("Field") VALUES (:p1) | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
SELECT | ||
t1."Id", | ||
t1."Field" | ||
FROM | ||
"NativeIdentity" t1 | ||
ORDER BY | ||
t1."Field" | ||
|
||
BeforeExecute | ||
-- Oracle.Managed Oracle12 | ||
|
||
BEGIN | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TRIGGER "TIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -4080 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP SEQUENCE "SIDENTITY_NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -2289 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
BEGIN | ||
EXECUTE IMMEDIATE 'DROP TABLE "NativeIdentity"'; | ||
EXCEPTION | ||
WHEN OTHERS THEN | ||
IF SQLCODE != -942 THEN | ||
RAISE; | ||
END IF; | ||
END; | ||
END; | ||
|
Oops, something went wrong.