You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though I'm running sqlline with --showWarnings=false it dumps every message by Microsoft SQL Server as if it was a warning. The code seems to suggest it doesn't really honor that flag anyway in some places, so I'm getting things like this:
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
1/1
EXEC signStoredProcedure 'ish_grantDatabaseOwner', 'CertUser', '<password>';
Warning: ADD SIGNATURE TO OBJECT:: [ish_grantDatabaseOwner] BY CERTIFICATE [CertUserCert] [...] (state=S0001,code=0)
java.sql.SQLWarning: ADD SIGNATURE TO OBJECT:: [ish_grantDatabaseOwner] BY CERTIFICATE [CertUserCert] [...]
at com.microsoft.sqlserver.jdbc.SQLServerStatement$1NextResult.onInfo(SQLServerStatement.java:1594)
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:103)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1628)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:872)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:767)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7225)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3053)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:247)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:222)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(SQLServerStatement.java:743)
at sqlline.Commands.executeSingleQuery(Commands.java:1054)
at sqlline.Commands.execute(Commands.java:1003)
at sqlline.Commands.sql(Commands.java:967)
at sqlline.SqlLine.dispatch(SqlLine.java:734)
at sqlline.SqlLine.runCommands(SqlLine.java:1736)
at sqlline.Commands.run(Commands.java:1593)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
at sqlline.SqlLine.dispatch(SqlLine.java:730)
at sqlline.SqlLine.initArgs(SqlLine.java:459)
at sqlline.SqlLine.begin(SqlLine.java:515)
at sqlline.SqlLine.start(SqlLine.java:267)
at sqlline.SqlLine.main(SqlLine.java:206)
No rows affected (0.058 seconds)
sqlline version 1.9.0
Where No rows affected is hardly a warning and certainly not stacktrace-worthy.
When I see a stacktrace I think something's wrong, but it isn't, sqlline just handles messages by the server quite a bit weirdly. The documented option "brief" doesn't actually exist by the way.
The text was updated successfully, but these errors were encountered:
Even though I'm running sqlline with
--showWarnings=false
it dumps every message by Microsoft SQL Server as if it was a warning. The code seems to suggest it doesn't really honor that flag anyway in some places, so I'm getting things like this:Where
No rows affected
is hardly a warning and certainly not stacktrace-worthy.When I see a stacktrace I think something's wrong, but it isn't, sqlline just handles messages by the server quite a bit weirdly. The documented option "brief" doesn't actually exist by the way.
The text was updated successfully, but these errors were encountered: