sensenet icon indicating copy to clipboard operation
sensenet copied to clipboard

Patching: "GO" in the SQL script

Open kavics opened this issue 3 years ago • 1 comments

The "GO" line in an SQL script causes an exception during patch execution.

kavics avatar Jun 24 '21 06:06 kavics

The script reader that is capable of splitting a script: SenseNet.ContentRepository.Storage.Data.MsSqlClient.SqlScriptReader Currently we use it only here: ExecuteEmbeddedNonQueryScriptAsync in the MsSqlDataProvider class. General Execute methods do not use this reader, maybe we should use it there so that the caller does not have to worry about it.

tusmester avatar Jun 24 '21 06:06 tusmester