Skip to content

Commit 1641143

Browse files
committed
Fixing broken code.
1 parent 029b8bc commit 1641143

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

test/EFCore.MySql.FunctionalTests/MySqlComplianceTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public class MySqlComplianceTest : RelationalComplianceTestBase
4747

4848
// We have our own JSON support for now
4949
typeof(AdHocJsonQueryTestBase),
50+
typeof(AdHocJsonQueryRelationalTestBase),
5051
typeof(JsonQueryRelationalTestBase<>),
5152
typeof(JsonQueryTestBase<>),
5253
typeof(JsonTypesRelationalTestBase),

test/EFCore.MySql.FunctionalTests/Update/StoredProcedureUpdateMySqlTest.cs

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -614,37 +614,6 @@ CREATE PROCEDURE EntityWithAdditionalProperty_Insert(pName text, OUT pId int, pA
614614
WHERE `Id` = @p2 AND `AdditionalProperty` = @p3;
615615
SELECT ROW_COUNT();
616616
617-
SET @_out_p4 = NULL;
618-
CALL `EntityWithAdditionalProperty_Insert`(@p5, @_out_p4, @p6);
619-
SELECT @_out_p4;
620-
""");
621-
}
622-
623-
public override async Task Non_sproc_followed_by_sproc_commands_in_the_same_batch(bool async)
624-
{
625-
await base.Non_sproc_followed_by_sproc_commands_in_the_same_batch(
626-
async,
627-
"""
628-
CREATE PROCEDURE EntityWithAdditionalProperty_Insert(pName text, OUT pId int, pAdditional_property int)
629-
BEGIN
630-
INSERT INTO EntityWithAdditionalProperty (`Name`, `AdditionalProperty`) VALUES (pName, pAdditional_property);
631-
SET pId = LAST_INSERT_ID();
632-
END
633-
""");
634-
635-
AssertSql(
636-
"""
637-
@p2='1'
638-
@p0='2'
639-
@p3='1'
640-
@p1='Entity1_Modified' (Size = 4000)
641-
@p5='Entity2' (Size = 4000)
642-
@p6='0'
643-
644-
UPDATE `EntityWithAdditionalProperty` SET `AdditionalProperty` = @p0, `Name` = @p1
645-
WHERE `Id` = @p2 AND `AdditionalProperty` = @p3;
646-
SELECT ROW_COUNT();
647-
648617
SET @_out_p4 = NULL;
649618
CALL `EntityWithAdditionalProperty_Insert`(@p5, @_out_p4, @p6);
650619
SELECT @_out_p4;

0 commit comments

Comments
 (0)