diff --git a/NOTICE.md b/NOTICE.md index 87b397ba..b55d2a72 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -6,8 +6,8 @@ This repository incorporates material as listed below or described in the code. ## github.com/Azure/azure-sdk-for-go/sdk/azcore * Name: github.com/Azure/azure-sdk-for-go/sdk/azcore -* Version: v1.1.2 -* License: [MIT](https://github.com/Azure/azure-sdk-for-go/blob/sdk/azcore/v1.1.2/sdk/azcore/LICENSE.txt) +* Version: v1.6.0 +* License: [MIT](https://github.com/Azure/azure-sdk-for-go/blob/sdk/azcore/v1.6.0/sdk/azcore/LICENSE.txt) ``` MIT License @@ -37,8 +37,8 @@ SOFTWARE ## github.com/Azure/azure-sdk-for-go/sdk/azidentity * Name: github.com/Azure/azure-sdk-for-go/sdk/azidentity -* Version: v1.2.1 -* License: [MIT](https://github.com/Azure/azure-sdk-for-go/blob/sdk/azidentity/v1.2.1/sdk/azidentity/LICENSE.txt) +* Version: v1.3.0 +* License: [MIT](https://github.com/Azure/azure-sdk-for-go/blob/sdk/azidentity/v1.3.0/sdk/azidentity/LICENSE.txt) ``` MIT License @@ -68,8 +68,8 @@ SOFTWARE ## github.com/Azure/azure-sdk-for-go/sdk/internal * Name: github.com/Azure/azure-sdk-for-go/sdk/internal -* Version: v1.0.0 -* License: [MIT](https://github.com/Azure/azure-sdk-for-go/blob/sdk/internal/v1.0.0/sdk/internal/LICENSE.txt) +* Version: v1.3.0 +* License: [MIT](https://github.com/Azure/azure-sdk-for-go/blob/sdk/internal/v1.3.0/sdk/internal/LICENSE.txt) ``` MIT License @@ -99,8 +99,8 @@ SOFTWARE ## github.com/AzureAD/microsoft-authentication-library-for-go/apps * Name: github.com/AzureAD/microsoft-authentication-library-for-go/apps -* Version: v0.8.1 -* License: [MIT](https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/v0.8.1/LICENSE) +* Version: v1.0.0 +* License: [MIT](https://github.com/AzureAD/microsoft-authentication-library-for-go/blob/v1.0.0/LICENSE) ``` MIT License @@ -1411,8 +1411,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## github.com/golang-jwt/jwt/v4 * Name: github.com/golang-jwt/jwt/v4 -* Version: v4.4.2 -* License: [MIT](https://github.com/golang-jwt/jwt/blob/v4.4.2/LICENSE) +* Version: v4.5.0 +* License: [MIT](https://github.com/golang-jwt/jwt/blob/v4.5.0/LICENSE) ``` Copyright (c) 2012 Dave Grijalva @@ -1430,8 +1430,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ## github.com/golang-sql/civil * Name: github.com/golang-sql/civil -* Version: v0.0.0-20190719163853-cb61b32ac6fe -* License: [Apache-2.0](https://github.com/golang-sql/civil/blob/cb61b32ac6fe/LICENSE) +* Version: v0.0.0-20220223132316-b832511892a9 +* License: [Apache-2.0](https://github.com/golang-sql/civil/blob/b832511892a9/LICENSE) ``` @@ -4683,8 +4683,8 @@ THE SOFTWARE. ## golang.org/x/crypto * Name: golang.org/x/crypto -* Version: v0.0.0-20220622213112-05595931fe9d -* License: [BSD-3-Clause](https://cs.opensource.google/go/x/crypto/+/05595931:LICENSE) +* Version: v0.9.0 +* License: [BSD-3-Clause](https://cs.opensource.google/go/x/crypto/+/v0.9.0:LICENSE) ``` Copyright (c) 2009 The Go Authors. All rights reserved. @@ -4720,8 +4720,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## golang.org/x/net * Name: golang.org/x/net -* Version: v0.7.0 -* License: [BSD-3-Clause](https://cs.opensource.google/go/x/net/+/v0.7.0:LICENSE) +* Version: v0.10.0 +* License: [BSD-3-Clause](https://cs.opensource.google/go/x/net/+/v0.10.0:LICENSE) ``` Copyright (c) 2009 The Go Authors. All rights reserved. @@ -4757,8 +4757,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## golang.org/x/sys * Name: golang.org/x/sys -* Version: v0.5.0 -* License: [BSD-3-Clause](https://cs.opensource.google/go/x/sys/+/v0.5.0:LICENSE) +* Version: v0.8.0 +* License: [BSD-3-Clause](https://cs.opensource.google/go/x/sys/+/v0.8.0:LICENSE) ``` Copyright (c) 2009 The Go Authors. All rights reserved. @@ -4794,8 +4794,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ## golang.org/x/text * Name: golang.org/x/text -* Version: v0.7.0 -* License: [BSD-3-Clause](https://cs.opensource.google/go/x/text/+/v0.7.0:LICENSE) +* Version: v0.9.0 +* License: [BSD-3-Clause](https://cs.opensource.google/go/x/text/+/v0.9.0:LICENSE) ``` Copyright (c) 2009 The Go Authors. All rights reserved. @@ -5066,23 +5066,6 @@ third-party archives. ``` -## gopkg.in/natefinch/npipe.v2 - -* Name: gopkg.in/natefinch/npipe.v2 -* Version: v2.0.0-20160621034901-c1b8fa8bdcce -* License: [MIT](https://github.com/natefinch/npipe/blob/c1b8fa8bdcce/LICENSE.txt) - -``` -The MIT License (MIT) -Copyright (c) 2013 npipe authors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -``` - ## gopkg.in/yaml.v2 * Name: gopkg.in/yaml.v2 diff --git a/README.md b/README.md index 11e82520..67becae4 100644 --- a/README.md +++ b/README.md @@ -116,8 +116,8 @@ The `sqlcmd` project aims to be a complete port of the original ODBC sqlcmd to t The following switches have different behavior in this version of `sqlcmd` compared to the original ODBC based `sqlcmd`. - `-r` requires a 0 or 1 argument -- `-R` switch will be removed. The go runtime does not provide access to user locale information, and it's not readily available through syscall on all supported platforms. -- `-I` switch will be removed. To disable quoted identifier behavior, add `SET QUOTED IDENTIFIER OFF` in your scripts. +- `-R` switch is ignored. The go runtime does not provide access to user locale information, and it's not readily available through syscall on all supported platforms. +- `-I` switch is ignored; quoted identifiers are always set on. To disable quoted identifier behavior, add `SET QUOTED IDENTIFIER OFF` in your scripts. - `-N` now takes a string value that can be one of `true`, `false`, or `disable` to specify the encryption choice. - If `-N` and `-C` are not provided, sqlcmd will negotiate authentication with the server without validating the server certificate. - If `-N` is provided but `-C` is not, sqlcmd will require validation of the server certificate. Note that a `false` value for encryption could still lead to encryption of the login packet. @@ -128,6 +128,7 @@ The following switches have different behavior in this version of `sqlcmd` compa - All commands must fit on one line, even `EXIT`. Interactive mode will not check for open parentheses or quotes for commands and prompt for successive lines. The ODBC sqlcmd allows the query run by `EXIT(query)` to span multiple lines. - `-i` now requires multiple arguments for the switch to be separated by `,`. - `-v` requires multiple variable setters to be comma-separated. eg: `-v var1=v1,var2=v2 -v "var3=v 3"` +- `-M` switch is ignored. Sqlcmd always enables multi-subnet failover. ### Switches not available in the new sqlcmd (go-sqlcmd) yet diff --git a/cmd/sqlcmd/sqlcmd.go b/cmd/sqlcmd/sqlcmd.go index 890e4012..b42eacf1 100644 --- a/cmd/sqlcmd/sqlcmd.go +++ b/cmd/sqlcmd/sqlcmd.go @@ -64,7 +64,6 @@ type SQLCmdArguments struct { VariableTypeWidth *int FixedTypeWidth *int TrimSpaces bool - MultiSubnetFailover bool Password string DedicatedAdminConnection bool ListServers bool @@ -307,7 +306,7 @@ func setFlags(rootCmd *cobra.Command, args *SQLCmdArguments) { rootCmd.Flags().BoolVarP(&args.UnicodeOutputFile, "unicode-output-file", "u", false, localizer.Sprintf("Specifies that all output files are encoded with little-endian Unicode")) rootCmd.Flags().StringVarP(&args.ColumnSeparator, "column-separator", "s", "", localizer.Sprintf("Specifies the column separator character. Sets the %s variable.", localizer.ColSeparatorVar)) rootCmd.Flags().BoolVarP(&args.TrimSpaces, "trim-spaces", "W", false, localizer.Sprintf("Remove trailing spaces from a column")) - rootCmd.Flags().BoolVarP(&args.MultiSubnetFailover, "multi-subnet-failover", "M", false, localizer.Sprintf("Provided for backward compatibility. Sqlcmd always optimizes detection of the active replica of a SQL Failover Cluster")) + _ = rootCmd.Flags().BoolP("multi-subnet-failover", "M", false, localizer.Sprintf("Provided for backward compatibility. Sqlcmd always optimizes detection of the active replica of a SQL Failover Cluster")) rootCmd.Flags().StringVarP(&args.Password, "password", "P", "", localizer.Sprintf("Password")) @@ -319,6 +318,8 @@ func setFlags(rootCmd *cobra.Command, args *SQLCmdArguments) { _ = rootCmd.Flags().IntP(fixedTypeWidth, "Y", 0, setScriptVariable("SQLCMDMAXFIXEDTYPEWIDTH")) rootCmd.Flags().BoolVarP(&args.ListServers, "list-servers", "L", false, "List servers") rootCmd.Flags().BoolVarP(&args.DedicatedAdminConnection, "dedicated-admin-connection", "A", false, localizer.Sprintf("Dedicated administrator connection")) + _ = rootCmd.Flags().BoolP("enable-quoted-identifiers", "I", true, localizer.Sprintf("Provided for backward compatibility. Quoted identifiers are always enabled")) + _ = rootCmd.Flags().BoolP("client-regional-setting", "R", false, localizer.Sprintf("Provided for backward compatibility. Client regional settings are not used")) } func setScriptVariable(v string) string { diff --git a/go.mod b/go.mod index c674bce2..35f04035 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/docker/go-connections v0.4.0 github.com/golang-sql/sqlexp v0.1.0 github.com/google/uuid v1.3.0 - github.com/microsoft/go-mssqldb v1.0.0 + github.com/microsoft/go-mssqldb v1.3.0 github.com/opencontainers/image-spec v1.0.2 github.com/peterh/liner v1.2.2 github.com/pkg/errors v0.9.1 @@ -18,17 +18,17 @@ require ( github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.14.0 github.com/stretchr/testify v1.8.1 - golang.org/x/sys v0.5.0 - golang.org/x/text v0.7.0 - golang.org/x/tools v0.1.12 + golang.org/x/sys v0.8.0 + golang.org/x/text v0.9.0 + golang.org/x/tools v0.6.0 gopkg.in/yaml.v2 v2.4.0 ) require ( - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.2 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.8.1 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0 // indirect + github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0 // indirect github.com/Microsoft/go-winio v0.6.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.1.1 // indirect @@ -39,8 +39,8 @@ require ( github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt/v4 v4.4.2 // indirect - github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe // indirect + github.com/golang-jwt/jwt/v4 v4.5.0 // indirect + github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect @@ -66,12 +66,11 @@ require ( github.com/spf13/cast v1.5.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/subosito/gotenv v1.4.1 // indirect - golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect - golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect - golang.org/x/net v0.7.0 // indirect + golang.org/x/crypto v0.9.0 // indirect + golang.org/x/mod v0.8.0 // indirect + golang.org/x/net v0.10.0 // indirect google.golang.org/protobuf v1.28.1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect - gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gotest.tools/v3 v3.4.0 // indirect ) diff --git a/go.sum b/go.sum index a392f5a5..8be64098 100644 --- a/go.sum +++ b/go.sum @@ -36,16 +36,15 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.2 h1:lneMk5qtUMulXa/eVxjVd+/bDYMEDIqYpLzLa2/EsNI= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.2/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.1 h1:T8quHYlUGyb/oqtSTwqlCr1ilJHrDv+ZtpSfo+hm1BU= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.2.1/go.mod h1:gLa1CL2RNE4s7M3yopJ/p0iq5DdY6Yv5ZUt9MTRZOQM= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0 h1:8kDqDngH+DmVBiCtIjCFTGa7MBnsIOkF9IccInFEbjk= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0 h1:vcYCAze6p19qBW7MhZybIsqD8sMV8js0NyQM8JDnVtg= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0/go.mod h1:OQeznEEkTZ9OrhHJoDD8ZDq51FHgXjqtP9z6bEwBq9U= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 h1:sXr+ck84g/ZlZUOZiNELInmMgOsuGwdjjVkEIde0OtY= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= -github.com/AzureAD/microsoft-authentication-library-for-go v0.8.1 h1:oPdPEZFSbl7oSPEAIPMPBMUmiL+mqgzBJwM/9qYcwNg= -github.com/AzureAD/microsoft-authentication-library-for-go v0.8.1/go.mod h1:4qFor3D/HDsvBME35Xy9rwW9DecL+M2sNw1ybjPtwA0= +github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0 h1:OBhqkivkhkMqLPymWEppkm7vgPQY2XsHoEkaMQ0AdZY= +github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0/go.mod h1:kgDmCTgBzIEPFElEF+FK0SdjAor06dRq2Go927dnQ6o= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= @@ -119,10 +118,11 @@ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/me github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt/v4 v4.4.2 h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs= -github.com/golang-jwt/jwt/v4 v4.4.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY= -github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang-jwt/jwt/v4 v4.4.3/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= +github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A= github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= @@ -181,7 +181,6 @@ github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -193,6 +192,7 @@ github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB7 github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4= github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= @@ -204,9 +204,9 @@ github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7P github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs= github.com/jcmturner/dnsutils/v2 v2.0.0/go.mod h1:b0TnjGOvI/n42bZa+hmXL+kFJZsFT7G4t3HTlQ184QM= -github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= +github.com/jcmturner/gofork v1.7.6/go.mod h1:1622LH6i/EZqLloHfE7IeZ0uEJwMSUyQ/nDd82IeqRo= github.com/jcmturner/goidentity/v6 v6.0.1/go.mod h1:X1YW3bgtvwAXju7V3LCIMpY0Gbxyjn/mY9zx4tFonSg= -github.com/jcmturner/gokrb5/v8 v8.4.2/go.mod h1:sb+Xq/fTY5yktf/VxLsE3wlfPqQjp0aWNYyvBVK62bc= +github.com/jcmturner/gokrb5/v8 v8.4.4/go.mod h1:1btQEpgT6k+unzCwX1KdWMEwPPkkgBtP+F6aCACiMrs= github.com/jcmturner/rpc/v2 v2.0.3/go.mod h1:VUJYCIDm3PVOEHw8sgt091/20OJjskO/YJki3ELg/Hc= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= @@ -236,8 +236,8 @@ github.com/mattn/go-runewidth v0.0.3 h1:a+kO+98RDGEfo6asOGMmpodZq4FNtnGP54yps8Bz github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/microsoft/go-mssqldb v1.0.0 h1:k2p2uuG8T5T/7Hp7/e3vMGTnnR0sU4h8d1CcC71iLHU= -github.com/microsoft/go-mssqldb v1.0.0/go.mod h1:+4wZTUnz/SV6nffv+RRRB/ss8jPng5Sho2SmM1l2ts4= +github.com/microsoft/go-mssqldb v1.3.0 h1:JcPVl+acL8Z/cQcJc9zP0OkjQ+l20bco/cCDpMbmGJk= +github.com/microsoft/go-mssqldb v1.3.0/go.mod h1:lmWsjHD8XX/Txr0f8ZqgbEZSC+BZjmEQy/Ms+rLrvho= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/moby/term v0.0.0-20221120202655-abb19827d345 h1:J9c53/kxIH+2nTKBEfZYFMlhghtHpIHSXpm5VRGHSnU= @@ -247,7 +247,7 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8= -github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= +github.com/montanaflynn/stats v0.7.0/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= @@ -262,7 +262,6 @@ github.com/pelletier/go-toml/v2 v2.0.5 h1:ipoSadvV8oGUjnUbMub59IDPPwfxF694nG/jwb github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas= github.com/peterh/liner v1.2.2 h1:aJ4AOodmL+JxOZZEL2u9iJf8omNRpqHc/EbrK+3mAXw= github.com/peterh/liner v1.2.2/go.mod h1:xFwJyiKIXJZUKItq5dGHZSTBRAuG/CpeNpWLyiNRNwI= -github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -322,7 +321,6 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= @@ -334,6 +332,7 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -346,12 +345,13 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d h1:sK3txAijHtOK88l68nt020reeT1ZdKLIYetKl95FzVY= -golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= +golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= +golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -385,8 +385,9 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -415,16 +416,17 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201010224723-4f7140c49acb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -444,6 +446,9 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -485,30 +490,35 @@ golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211117180635-dee7805ff2e1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220224120231-95c6836cb0e7/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -562,8 +572,9 @@ golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -668,8 +679,6 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -679,7 +688,6 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o= diff --git a/internal/translations/catalog.go b/internal/translations/catalog.go index 85a2b683..4e7018af 100644 --- a/internal/translations/catalog.go +++ b/internal/translations/catalog.go @@ -55,13 +55,13 @@ var messageKeyToIndex = map[string]int{ "%s Specifies the instance of SQL Server to which to connect. It sets the sqlcmd scripting variable %s.": 245, "%sSyntax error at line %d": 10, "%v": 56, - "'%s %s': Unexpected argument. Argument value has to be %v.": 273, - "'%s %s': Unexpected argument. Argument value has to be one of %v.": 274, - "'%s %s': value must be greater than %#v and less than %#v.": 272, - "'%s %s': value must be greater than or equal to %#v and less than or equal to %#v.": 271, + "'%s %s': Unexpected argument. Argument value has to be %v.": 275, + "'%s %s': Unexpected argument. Argument value has to be one of %v.": 276, + "'%s %s': value must be greater than %#v and less than %#v.": 274, + "'%s %s': value must be greater than or equal to %#v and less than or equal to %#v.": 273, "'%s' scripting variable not defined.": 6, - "'%s': Missing argument. Enter '-?' for help.": 276, - "'%s': Unknown Option. Enter '-?' for help.": 277, + "'%s': Missing argument. Enter '-?' for help.": 278, + "'%s': Unknown Option. Enter '-?' for help.": 279, "'-a %#v': Packet size has to be a number between 512 and 32767.": 228, "'-h %#v': header value must be either -1 or a value between 1 and 2147483647": 0, "--user-database %q contains non-ASCII chars and/or quotes": 192, @@ -181,8 +181,8 @@ var messageKeyToIndex = map[string]int{ "Install/Create SQL Server, Azure SQL, and Tools": 20, "Install/Create, Query, Uninstall SQL Server": 11, "Invalid --using file type": 206, - "Invalid variable identifier %s": 278, - "Invalid variable value %s": 279, + "Invalid variable identifier %s": 282, + "Invalid variable value %s": 283, "Is a container runtime installed on this machine (e.g. Podman or Docker)?": 211, "Is a container runtime running? (Try `%s` or `%s` (list containers), does it return without error?)": 214, "Legal docs and information: aka.ms/SqlcmdLegal": 230, @@ -193,25 +193,27 @@ var messageKeyToIndex = map[string]int{ "List all the endpoints in your sqlconfig file": 146, "List all the users in your sqlconfig file": 153, "List connection strings for all client drivers": 113, - "List tags": 225, - "Minimum number of numeric characters": 178, - "Minimum number of special characters": 177, - "Minimum number of upper characters": 179, - "Modify sqlconfig files using subcommands like \"%s\"": 18, - "Name of context to delete": 120, - "Name of context to set as current context": 161, - "Name of endpoint this context will use": 64, - "Name of endpoint to delete": 126, - "Name of user this context will use": 65, - "Name of user to delete": 132, - "No context exists with the name: \"%v\"": 165, - "No current context": 31, - "No endpoints to uninstall": 60, - "Now ready for client connections on port %d": 201, - "Open in Azure Data Studio": 74, - "Open tools (e.g Azure Data Studio) for current context": 21, - "Or, set the environment variable i.e. %s %s=YES ": 190, - "Pass in the %s %s": 99, + "List tags": 225, + "Minimum number of numeric characters": 178, + "Minimum number of special characters": 177, + "Minimum number of upper characters": 179, + "Modify sqlconfig files using subcommands like \"%s\"": 18, + "Msg %#v, Level %d, State %d, Server %s, Line %#v%s": 281, + "Msg %#v, Level %d, State %d, Server %s, Procedure %s, Line %#v%s": 280, + "Name of context to delete": 120, + "Name of context to set as current context": 161, + "Name of endpoint this context will use": 64, + "Name of endpoint to delete": 126, + "Name of user this context will use": 65, + "Name of user to delete": 132, + "No context exists with the name: \"%v\"": 165, + "No current context": 31, + "No endpoints to uninstall": 60, + "Now ready for client connections on port %d": 201, + "Open in Azure Data Studio": 74, + "Open tools (e.g Azure Data Studio) for current context": 21, + "Or, set the environment variable i.e. %s %s=YES ": 190, + "Pass in the %s %s": 99, "Pass in the flag %s to override this safety check for user (non-system) databases": 58, "Password": 266, "Password encryption method (%s) in sqlconfig file": 95, @@ -220,6 +222,8 @@ var messageKeyToIndex = map[string]int{ "Provide a username with the %s flag": 105, "Provide a valid encryption method (%s) with the %s flag": 107, "Provide password in the %s (or %s) environment variable": 103, + "Provided for backward compatibility. Client regional settings are not used": 271, + "Provided for backward compatibility. Quoted identifiers are always enabled": 270, "Provided for backward compatibility. Sqlcmd always optimizes detection of the active replica of a SQL Failover Cluster": 265, "Quiet mode (do not stop for user input to confirm the operation)": 42, "Remove": 200, @@ -237,7 +241,7 @@ var messageKeyToIndex = map[string]int{ "Set new default database": 25, "Set the current context": 159, "Set the mssql context (endpoint/user) to be the current context": 160, - "Sets the sqlcmd scripting variable %s": 270, + "Sets the sqlcmd scripting variable %s": 272, "Show sqlconfig settings and raw authentication data": 168, "Show sqlconfig settings, with REDACTED authentication data": 167, "Special character set to include in password": 180, @@ -267,7 +271,7 @@ var messageKeyToIndex = map[string]int{ "Syntax error at line %d near command '%s'.": 8, "Tag to use, use get-tags to see list of tags": 172, "Tells sqlcmd to use ActiveDirectory authentication. If no user name is provided, authentication method ActiveDirectoryDefault is used. If a password is provided, ActiveDirectoryPassword is used. Otherwise ActiveDirectoryInteractive is used": 248, - "The %s and the %s options are mutually exclusive.": 275, + "The %s and the %s options are mutually exclusive.": 277, "The %s flag can only be used when authentication type is '%s'": 100, "The %s flag must be set when authentication type is '%s'": 102, "The -L parameter can not be used in combination with other parameters.": 227, @@ -330,7 +334,7 @@ var messageKeyToIndex = map[string]int{ "sqlcmd: Install/Create/Query SQL Server, Azure SQL, and Tools\n\nFeedback:\n %s": 13, } -var de_DEIndex = []uint32{ // 281 elements +var de_DEIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x0000005b, 0x00000085, 0x0000009a, 0x000000b0, 0x00000104, 0x00000135, 0x00000165, @@ -410,8 +414,9 @@ var de_DEIndex = []uint32{ // 281 elements 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, + 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, 0x0000025a, -} // Size: 1148 bytes +} // Size: 1164 bytes const de_DEData string = "" + // Size: 602 bytes "\x02'-h %#[1]v': Der Headerwert muss entweder -1 oder ein Wert zwischen " + @@ -425,7 +430,7 @@ const de_DEData string = "" + // Size: 602 bytes "r Verarbeiten von Datei %[2]s (Ursache: %[3]s).\x02%[1]sSyntaxfehler in " + "Zeile %[2]d" -var en_USIndex = []uint32{ // 281 elements +var en_USIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x00000050, 0x00000071, 0x00000085, 0x0000009b, 0x000000ef, 0x0000011c, 0x00000144, @@ -502,13 +507,14 @@ var en_USIndex = []uint32{ // 281 elements 0x000033f6, 0x0000341b, 0x0000349c, 0x000034c4, 0x0000350f, 0x0000358f, 0x00003602, 0x00003649, 0x0000368c, 0x000036b1, 0x00003728, 0x00003731, - 0x0000377c, 0x000037a2, 0x000037c5, 0x000037ee, - 0x0000384d, 0x00003894, 0x000038d8, 0x00003923, - 0x0000395b, 0x0000398b, 0x000039b9, 0x000039db, - 0x000039f8, -} // Size: 1148 bytes + 0x0000377c, 0x000037a2, 0x000037c5, 0x00003810, + 0x0000385b, 0x00003884, 0x000038e3, 0x0000392a, + 0x0000396e, 0x000039b9, 0x000039f1, 0x00003a21, + 0x00003a4f, 0x00003aa5, 0x00003aea, 0x00003b0c, + 0x00003b29, +} // Size: 1164 bytes -const en_USData string = "" + // Size: 14840 bytes +const en_USData string = "" + // Size: 15145 bytes "\x02'-h %#[1]v': header value must be either -1 or a value between 1 and" + " 2147483647\x02invalid batch terminator '%[1]s'\x04\x00\x01 \x0f\x02Sqlc" + "md: Error:\x04\x00\x01 \x11\x02Sqlcmd: Warning:\x02ED and !! co" + @@ -720,18 +726,22 @@ const en_USData string = "" + // Size: 14840 bytes "ided for backward compatibility. Sqlcmd always optimizes detection of th" + "e active replica of a SQL Failover Cluster\x02Password\x02Controls the s" + "everity level that is used to set the %[1]s variable on exit\x02Specifie" + - "s the screen width for output\x02Dedicated administrator connection\x02S" + - "ets the sqlcmd scripting variable %[1]s\x02'%[1]s %[2]s': value must be " + - "greater than or equal to %#[3]v and less than or equal to %#[4]v.\x02'%[" + - "1]s %[2]s': value must be greater than %#[3]v and less than %#[4]v.\x02'" + - "%[1]s %[2]s': Unexpected argument. Argument value has to be %[3]v.\x02'%" + - "[1]s %[2]s': Unexpected argument. Argument value has to be one of %[3]v." + - "\x02The %[1]s and the %[2]s options are mutually exclusive.\x02'%[1]s': " + - "Missing argument. Enter '-?' for help.\x02'%[1]s': Unknown Option. Enter" + - " '-?' for help.\x02Invalid variable identifier %[1]s\x02Invalid variable" + - " value %[1]s" + "s the screen width for output\x02Dedicated administrator connection\x02P" + + "rovided for backward compatibility. Quoted identifiers are always enable" + + "d\x02Provided for backward compatibility. Client regional settings are n" + + "ot used\x02Sets the sqlcmd scripting variable %[1]s\x02'%[1]s %[2]s': va" + + "lue must be greater than or equal to %#[3]v and less than or equal to %#" + + "[4]v.\x02'%[1]s %[2]s': value must be greater than %#[3]v and less than " + + "%#[4]v.\x02'%[1]s %[2]s': Unexpected argument. Argument value has to be " + + "%[3]v.\x02'%[1]s %[2]s': Unexpected argument. Argument value has to be o" + + "ne of %[3]v.\x02The %[1]s and the %[2]s options are mutually exclusive." + + "\x02'%[1]s': Missing argument. Enter '-?' for help.\x02'%[1]s': Unknown " + + "Option. Enter '-?' for help.\x02Msg %#[1]v, Level %[2]d, State %[3]d, Se" + + "rver %[4]s, Procedure %[5]s, Line %#[6]v%[7]s\x02Msg %#[1]v, Level %[2]d" + + ", State %[3]d, Server %[4]s, Line %#[5]v%[6]s\x02Invalid variable identi" + + "fier %[1]s\x02Invalid variable value %[1]s" -var es_ESIndex = []uint32{ // 281 elements +var es_ESIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x00000051, 0x00000077, 0x0000008b, 0x000000a5, 0x00000109, 0x0000013a, 0x00000168, @@ -811,8 +821,9 @@ var es_ESIndex = []uint32{ // 281 elements 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, + 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, 0x0000025d, -} // Size: 1148 bytes +} // Size: 1164 bytes const es_ESData string = "" + // Size: 605 bytes "\x02'-h %#[1]v': el valor de encabezado debe ser -1 o un valor entre -1 " + @@ -826,7 +837,7 @@ const es_ESData string = "" + // Size: 605 bytes "ar sobre el archivo %[2]s (motivo: %[3]s).\x02%[1]serror de sintaxis en " + "la línea %[2]d" -var fr_FRIndex = []uint32{ // 281 elements +var fr_FRIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x00000061, 0x0000008b, 0x000000a4, 0x000000c3, 0x0000013b, 0x00000174, 0x000001ac, @@ -906,8 +917,9 @@ var fr_FRIndex = []uint32{ // 281 elements 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, + 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, 0x000002e3, -} // Size: 1148 bytes +} // Size: 1164 bytes const fr_FRData string = "" + // Size: 739 bytes "\x02'-h %#[1]v': la valeur d'en-tête doit être\u00a0-1 ou une valeur com" + @@ -923,7 +935,7 @@ const fr_FRData string = "" + // Size: 739 bytes "'est produite lors de l'ouverture ou de l'utilisation du fichier %[2]s (" + "Raison\u00a0: %[3]s).\x02erreur de syntaxe à la ligne %[2]d" -var it_ITIndex = []uint32{ // 281 elements +var it_ITIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x0000005f, 0x00000087, 0x0000009c, 0x000000b1, 0x0000010d, 0x00000142, 0x0000016f, @@ -1003,8 +1015,9 @@ var it_ITIndex = []uint32{ // 281 elements 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, + 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, 0x0000026e, -} // Size: 1148 bytes +} // Size: 1164 bytes const it_ITData string = "" + // Size: 622 bytes "\x02'-h %#[1]v': il valore di intestazione deve essere -1 o un valore co" + @@ -1018,7 +1031,7 @@ const it_ITData string = "" + // Size: 622 bytes "rante l'apertura o l'utilizzo del file %[2]s (motivo: %[3]s).\x02%[1]ser" + "rore di sintassi alla riga %[2]d" -var ja_JPIndex = []uint32{ // 281 elements +var ja_JPIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x0000006a, 0x0000009f, 0x000000b7, 0x000000cc, 0x00000146, 0x0000018b, 0x000001ca, @@ -1098,8 +1111,9 @@ var ja_JPIndex = []uint32{ // 281 elements 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, + 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, 0x0000030f, -} // Size: 1148 bytes +} // Size: 1164 bytes const ja_JPData string = "" + // Size: 783 bytes "\x02'-h %#[1]v': ヘッダーには -1 または -1 から 2147483647 までの値を指定してください\x02バッチ ターミ" + @@ -1110,7 +1124,7 @@ const ja_JPData string = "" + // Size: 783 bytes "\x02%[1]s ファイル %[2]s を開くときか、このファイルの処理中にエラーが発生しました (理由: %[3]s)。\x02%[1]s行" + " %[2]d に構文エラーがあります。" -var ko_KRIndex = []uint32{ // 281 elements +var ko_KRIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x0000005c, 0x00000088, 0x0000009d, 0x000000b2, 0x00000110, 0x0000014b, 0x00000188, @@ -1190,8 +1204,9 @@ var ko_KRIndex = []uint32{ // 281 elements 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, + 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, 0x000002c4, -} // Size: 1148 bytes +} // Size: 1164 bytes const ko_KRData string = "" + // Size: 708 bytes "\x02'-h %#[1]v': 헤더 값은 -1이거나 -1에서 2147483647 사이의 값이어야 합니다\x02잘못된 일괄 처리 종" + @@ -1202,7 +1217,7 @@ const ko_KRData string = "" + // Size: 708 bytes "[2]s을(를) 열거나 해당 작업을 수행하는 중 오류가 발생했습니다(원인: %[3]s).\x02%[1]s줄 %[2]d에서 구문 오" + "류가 발생했습니다" -var pt_BRIndex = []uint32{ // 281 elements +var pt_BRIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x00000050, 0x00000075, 0x00000088, 0x0000009c, 0x00000107, 0x0000013a, 0x00000165, @@ -1282,8 +1297,9 @@ var pt_BRIndex = []uint32{ // 281 elements 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, + 0x00000252, 0x00000252, 0x00000252, 0x00000252, 0x00000252, -} // Size: 1148 bytes +} // Size: 1164 bytes const pt_BRData string = "" + // Size: 594 bytes "\x02'-h %#[1]v': o valor do cabeçalho deve ser -1 ou um valor entre 1 e " + @@ -1296,7 +1312,7 @@ const pt_BRData string = "" + // Size: 594 bytes " comando '%[2]s'.\x02%[1]s ocorreu um erro ao abrir ou operar no arquivo" + " %[2]s (Motivo: %[3]s).\x02%[1]serro de sintaxe na linha %[2]d" -var ru_RUIndex = []uint32{ // 281 elements +var ru_RUIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x00000080, 0x000000c8, 0x000000e4, 0x00000103, 0x00000183, 0x000001e2, 0x00000229, @@ -1376,8 +1392,9 @@ var ru_RUIndex = []uint32{ // 281 elements 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, + 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, 0x000003b9, -} // Size: 1148 bytes +} // Size: 1164 bytes const ru_RUData string = "" + // Size: 953 bytes "\x02'-h %#[1]v': значением заголовка может быть или -1, или число между " + @@ -1391,7 +1408,7 @@ const ru_RUData string = "" + // Size: 953 bytes "файла %[2]s (причина: %[3]s).\x02%[1]sсинтаксическая ошибка в строке %[" + "2]d" -var zh_CNIndex = []uint32{ // 281 elements +var zh_CNIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x0000004e, 0x00000071, 0x00000086, 0x0000009b, 0x000000db, 0x000000fe, 0x0000011e, @@ -1471,8 +1488,9 @@ var zh_CNIndex = []uint32{ // 281 elements 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, + 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, 0x000001ee, -} // Size: 1148 bytes +} // Size: 1164 bytes const zh_CNData string = "" + // Size: 494 bytes "\x02'-h %#[1]v': 标头值必须是 -1 或是介于 1 和 2147483647 之间的值\x02无效的批处理终止符'%[1]s'" + @@ -1481,7 +1499,7 @@ const zh_CNData string = "" + // Size: 494 bytes "[1]s'的值无效:'%[2]s'\x02命令'%[2]s'附近的第 %[1]d 行存在语法错误。\x02%[1]s 打开文件 %[2]s 或对" + "其执行操作时出错(原因: %[3]s)。\x02%[1]s第 %[2]d 行存在语法错误" -var zh_TWIndex = []uint32{ // 281 elements +var zh_TWIndex = []uint32{ // 285 elements // Entry 0 - 1F 0x00000000, 0x0000004c, 0x0000006e, 0x00000083, 0x00000098, 0x000000dd, 0x00000100, 0x00000125, @@ -1561,8 +1579,9 @@ var zh_TWIndex = []uint32{ // 281 elements 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, + 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, 0x000001f9, -} // Size: 1148 bytes +} // Size: 1164 bytes const zh_TWData string = "" + // Size: 505 bytes "\x02'-h %#[1]v': 標頭值必須是 -1 或介於 -1 和 2147483647 之間的值\x02批次結束字元 '%[1]s' 無效" + @@ -1571,4 +1590,4 @@ const zh_TWData string = "" + // Size: 505 bytes "數。\x02環境變數: '%[1]s' 有無效值: '%[2]s'。\x02第 %[1]d 行接近命令 '%[2]s' 之處有語法錯誤。" + "\x02%[1]s 開啟或操作檔案 %[2]s 時發生錯誤 (原因: %[3]s)。\x02%[1]s第 %[2]d 行有語法錯誤。" - // Total table size 34073 bytes (33KiB); checksum: 87DD1035 + // Total table size 34554 bytes (33KiB); checksum: BEB71B diff --git a/internal/translations/locales/de-DE/out.gotext.json b/internal/translations/locales/de-DE/out.gotext.json index 5b785f42..7695fed0 100644 --- a/internal/translations/locales/de-DE/out.gotext.json +++ b/internal/translations/locales/de-DE/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/en-US/out.gotext.json b/internal/translations/locales/en-US/out.gotext.json index cc6a88ac..c529729c 100644 --- a/internal/translations/locales/en-US/out.gotext.json +++ b/internal/translations/locales/en-US/out.gotext.json @@ -2870,6 +2870,20 @@ "translatorComment": "Copied from source.", "fuzzy": true }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "Provided for backward compatibility. Client regional settings are not used", + "translatorComment": "Copied from source.", + "fuzzy": true + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -3274,6 +3288,128 @@ ], "fuzzy": true }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ], + "fuzzy": true + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ], + "fuzzy": true + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/es-ES/out.gotext.json b/internal/translations/locales/es-ES/out.gotext.json index afa97f27..8921085f 100644 --- a/internal/translations/locales/es-ES/out.gotext.json +++ b/internal/translations/locales/es-ES/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/fr-FR/out.gotext.json b/internal/translations/locales/fr-FR/out.gotext.json index 11daa7a6..ca247a4d 100644 --- a/internal/translations/locales/fr-FR/out.gotext.json +++ b/internal/translations/locales/fr-FR/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/it-IT/out.gotext.json b/internal/translations/locales/it-IT/out.gotext.json index f1389955..a3f062c6 100644 --- a/internal/translations/locales/it-IT/out.gotext.json +++ b/internal/translations/locales/it-IT/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/ja-JP/out.gotext.json b/internal/translations/locales/ja-JP/out.gotext.json index f688ec4c..3bac0b5c 100644 --- a/internal/translations/locales/ja-JP/out.gotext.json +++ b/internal/translations/locales/ja-JP/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/ko-KR/out.gotext.json b/internal/translations/locales/ko-KR/out.gotext.json index 82cac1f9..2af37e67 100644 --- a/internal/translations/locales/ko-KR/out.gotext.json +++ b/internal/translations/locales/ko-KR/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/pt-BR/out.gotext.json b/internal/translations/locales/pt-BR/out.gotext.json index c12deead..d2d45ef7 100644 --- a/internal/translations/locales/pt-BR/out.gotext.json +++ b/internal/translations/locales/pt-BR/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/ru-RU/out.gotext.json b/internal/translations/locales/ru-RU/out.gotext.json index c94d84d1..a7ae4093 100644 --- a/internal/translations/locales/ru-RU/out.gotext.json +++ b/internal/translations/locales/ru-RU/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/zh-CN/out.gotext.json b/internal/translations/locales/zh-CN/out.gotext.json index f4afb043..f5ff7891 100644 --- a/internal/translations/locales/zh-CN/out.gotext.json +++ b/internal/translations/locales/zh-CN/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/internal/translations/locales/zh-TW/out.gotext.json b/internal/translations/locales/zh-TW/out.gotext.json index 540dc1aa..732ab4cc 100644 --- a/internal/translations/locales/zh-TW/out.gotext.json +++ b/internal/translations/locales/zh-TW/out.gotext.json @@ -2350,6 +2350,16 @@ "message": "Dedicated administrator connection", "translation": "" }, + { + "id": "Provided for backward compatibility. Quoted identifiers are always enabled", + "message": "Provided for backward compatibility. Quoted identifiers are always enabled", + "translation": "" + }, + { + "id": "Provided for backward compatibility. Client regional settings are not used", + "message": "Provided for backward compatibility. Client regional settings are not used", + "translation": "" + }, { "id": "Sets the sqlcmd scripting variable {V}", "message": "Sets the sqlcmd scripting variable {V}", @@ -2718,6 +2728,124 @@ } ] }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Procedure {ProcName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "ProcName", + "string": "%[5]s", + "type": "string", + "underlyingType": "string", + "argNum": 5, + "expr": "e.ProcName" + }, + { + "id": "LineNo", + "string": "%#[6]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 6, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[7]s", + "type": "string", + "underlyingType": "string", + "argNum": 7, + "expr": "SqlcmdEol" + } + ] + }, + { + "id": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "message": "Msg {Number}, Level {Class}, State {State}, Server {ServerName}, Line {LineNo}{SqlcmdEol}", + "translation": "", + "placeholders": [ + { + "id": "Number", + "string": "%#[1]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 1, + "expr": "e.Number" + }, + { + "id": "Class", + "string": "%[2]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 2, + "expr": "e.Class" + }, + { + "id": "State", + "string": "%[3]d", + "type": "uint8", + "underlyingType": "uint8", + "argNum": 3, + "expr": "e.State" + }, + { + "id": "ServerName", + "string": "%[4]s", + "type": "string", + "underlyingType": "string", + "argNum": 4, + "expr": "e.ServerName" + }, + { + "id": "LineNo", + "string": "%#[5]v", + "type": "int32", + "underlyingType": "int32", + "argNum": 5, + "expr": "e.LineNo" + }, + { + "id": "SqlcmdEol", + "string": "%[6]s", + "type": "string", + "underlyingType": "string", + "argNum": 6, + "expr": "SqlcmdEol" + } + ] + }, { "id": "Invalid variable identifier {Name}", "message": "Invalid variable identifier {Name}", diff --git a/pkg/sqlcmd/batch.go b/pkg/sqlcmd/batch.go index 17432319..b13ff7df 100644 --- a/pkg/sqlcmd/batch.go +++ b/pkg/sqlcmd/batch.go @@ -147,22 +147,18 @@ parse: if err == nil { if command == nil { i = min(i, b.rawlen) - empty := i == 0 - appendLine := !empty || b.comment || b.quote != 0 - if appendLine { - // any variables on the line need to be added to the global map - inc := 0 - if b.Length > 0 { - inc = len(lineend) - } - if b.linevarmap != nil { - for v := range b.linevarmap { - b.varmap[v+b.Length+inc] = b.linevarmap[v] - } + // any variables on the line need to be added to the global map + inc := 0 + if b.batchline > 1 { + inc = len(lineend) + } + if b.linevarmap != nil { + for v := range b.linevarmap { + b.varmap[v+b.Length+inc] = b.linevarmap[v] } - // log.Printf(">> appending: `%s`", string(r[st:i])) - b.append(b.raw[:i], lineend) } + // log.Printf(">> appending: `%s`", string(r[st:i])) + b.append(b.raw[:i], lineend) b.batchline++ } b.raw = b.raw[i:] diff --git a/pkg/sqlcmd/batch_test.go b/pkg/sqlcmd/batch_test.go index c1e7d4b2..1c57ce80 100644 --- a/pkg/sqlcmd/batch_test.go +++ b/pkg/sqlcmd/batch_test.go @@ -204,6 +204,10 @@ func TestBatchNextVarMap(t *testing.T) { 15: "var2", 40 + 2*len(SqlcmdEol): "var3"}, }, + {"\n$(var1)\n\n$(var2)", map[int]string{ + len(SqlcmdEol): "var1", + 6 + 3*len(SqlcmdEol): "var2", + }}, } loop: for _, test := range tests { diff --git a/pkg/sqlcmd/commands_test.go b/pkg/sqlcmd/commands_test.go index ed0f20f4..9aa04bc3 100644 --- a/pkg/sqlcmd/commands_test.go +++ b/pkg/sqlcmd/commands_test.go @@ -151,7 +151,7 @@ func TestListCommand(t *testing.T) { s.SetOutput(buf) // insert test batch - s.batch.Reset([]rune("select 1")) + s.batch.Reset([]rune("select 1" + SqlcmdEol + "select 2" + SqlcmdEol + SqlcmdEol + "select 3")) _, _, err = s.batch.Next() assert.NoError(t, err, "Inserting test batch") @@ -160,7 +160,7 @@ func TestListCommand(t *testing.T) { assert.NoError(t, err, "Executing :list command") s.SetOutput(nil) o := buf.buf.String() - assert.Equal(t, o, "select 1"+SqlcmdEol, ":list output not equal to batch") + assert.Equal(t, o, "select 1"+SqlcmdEol+"select 2"+SqlcmdEol+SqlcmdEol+"select 3"+SqlcmdEol, ":list output not equal to batch") } func TestListCommandUsesColorizer(t *testing.T) { @@ -261,7 +261,7 @@ func TestErrorCommand(t *testing.T) { s.SetError(nil) errText, err := os.ReadFile(file.Name()) if assert.NoError(t, err, "ReadFile") { - assert.Regexp(t, "Msg 50000, Level 16, State 1, Server .*, Line 2"+SqlcmdEol+"Error"+SqlcmdEol, string(errText), "Error file contents") + assert.Regexp(t, "Msg 50000, Level 16, State 1, Server .*, Line 2"+SqlcmdEol+"Error"+SqlcmdEol, string(errText), "Error file contents: "+string(errText)) } } diff --git a/pkg/sqlcmd/format.go b/pkg/sqlcmd/format.go index df22f1bf..a03e9b9b 100644 --- a/pkg/sqlcmd/format.go +++ b/pkg/sqlcmd/format.go @@ -13,6 +13,7 @@ import ( "github.com/google/uuid" mssql "github.com/microsoft/go-mssqldb" "github.com/microsoft/go-sqlcmd/internal/color" + "github.com/microsoft/go-sqlcmd/internal/localizer" ) const ( @@ -216,7 +217,11 @@ func (f *sqlCmdFormatterType) AddError(err error) { switch e := (err).(type) { case mssql.Error: if print = f.vars.ErrorLevel() <= 0 || e.Class >= uint8(f.vars.ErrorLevel()); print { - b.WriteString(fmt.Sprintf("Msg %d, Level %d, State %d, Server %s, Line %d%s", e.Number, e.Class, e.State, e.ServerName, e.LineNo, SqlcmdEol)) + if len(e.ProcName) > 0 { + b.WriteString(localizer.Sprintf("Msg %#v, Level %d, State %d, Server %s, Procedure %s, Line %#v%s", e.Number, e.Class, e.State, e.ServerName, e.ProcName, e.LineNo, SqlcmdEol)) + } else { + b.WriteString(localizer.Sprintf("Msg %#v, Level %d, State %d, Server %s, Line %#v%s", e.Number, e.Class, e.State, e.ServerName, e.LineNo, SqlcmdEol)) + } msg = strings.TrimPrefix(msg, "mssql: ") } }