You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix schema parse error when using reserved keys as table names (#881)
* bracketed name for reserved words as table name
* add test
* add tests
* fix csx test
* enable test only for csharp
* fix TableNotPresentTest
* revert GetUserTableIdAsync change
* refactor GetUserTableIdAsync
* comment out Java test
* refactor code to use SqlObject
Copy file name to clipboardExpand all lines: test/Integration/SqlTriggerBindingIntegrationTests.cs
+65Lines changed: 65 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -656,6 +656,71 @@ JOIN sys.columns c
656
656
Assert.True(1==(int)this.ExecuteScalar("SELECT 1 FROM sys.columns WHERE Name = N'LastAccessTime' AND Object_ID = Object_ID(N'[az_func].[GlobalState]')"),$"{GlobalStateTableName} should have {LastAccessTimeColumnName} column after restarting the listener.");
657
657
}
658
658
659
+
/// <summary>
660
+
/// Tests that trigger function executes on table whose name is a reserved word (User).
661
+
/// </summary>
662
+
[Theory]
663
+
[SqlInlineData()]
664
+
[UnsupportedLanguages(SupportedLanguages.Java)]// test timing out for Java
0 commit comments