mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-27 01:25:42 -05:00
Support GO N syntax to execute multiple times (#551)
* Support `GO N` syntax to execute multiple times - Plumbed through the batch execution count from the parser and used in the batch execution code path - Functionality matches SSMS: - Outputs loop start/end messages that match SSMS if you're doing multi-batch execution - Outputs an "ignoring failure" error if an error happens during a batch - Added tests for this - Manually verified end to end also * Fixing test error
This commit is contained in:
@@ -749,11 +749,11 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string EE_ExecutionInfo_InitilizingLoop
|
||||
public static string EE_ExecutionInfo_InitializingLoop
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.EE_ExecutionInfo_InitilizingLoop);
|
||||
return Keys.GetString(Keys.EE_ExecutionInfo_InitializingLoop);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3979,7 +3979,7 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string EE_BatchExecutionError_Ignoring = "EE_BatchExecutionError_Ignoring";
|
||||
|
||||
|
||||
public const string EE_ExecutionInfo_InitilizingLoop = "EE_ExecutionInfo_InitilizingLoop";
|
||||
public const string EE_ExecutionInfo_InitializingLoop = "EE_ExecutionInfo_InitializingLoop";
|
||||
|
||||
|
||||
public const string EE_ExecutionError_CommandNotSupported = "EE_ExecutionError_CommandNotSupported";
|
||||
|
||||
Reference in New Issue
Block a user