Stuart Padley

Results 39 issues of Stuart Padley

If there are any switches left from the old ODBC sqlcmd that are not yet implemented in the new go-sqlcmd, please put in a stub implementation for go-sqlcmd now, which...

enhancement
sqlcmd switch

DRAFT: Not ready for code review yet. ---- This PR is a partial merge of PR #319, which rounds out the "use" scenario for containers, to allow the casual user...

In implementing `sqlcmd open ads` for Mac, we've hit an issue, in that the name of the credential that ADS is expecting (via SqlToolsService) is named using UTF16 characters (the...

bug
ADS
Security

Currently the Testcmd function just executes a command, but doesn't allow for further verification that the output generated was expected cmdparser.TestSetup(t) cmdparser.TestCmd[*AddEndpoint]() cmdparser.TestCmd[*AddContext]("--endpoint endpoint") cmdparser.TestCmd[*UseContext]("--name context") Provide a pattern that...

bug
housekeeping

Right now `sqlcmd start` does not block waiting for SQL Server to be running and ready for client connections. So if `sqlcmd query` is immediately run, it will fail with:...

bug
ADS

This is related to the other issue on application_name. Where we are looking to set application name to "sqlcmd", but this request go further and asks that the application name...

enhancement
sqlcmd switch

I've been using this pattern for negative tests, that are expecting a failure: defer func() { test.CatchExpectedError(recover(), t) }() This pattern ends up causing a test to pass for any...

bug
testing
housekeeping

In add-user.go line 83: we should prompt for the password on the console. we could also allow reading it from redirected stdin sqlcmd config add-user --username myuser < somefile.txt

bug
sqlcmd switch
Security

Tracking issue from PR feedback

enhancement
Security

Tracking PR feedback: Where do we hook up the -U switch on the CLI as an override of the user name of the current context? Need to think about the...

bug
sqlcmd switch
Security