File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/java/com/microsoft/sqlserver/jdbc Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -280,11 +280,12 @@ boolean onOrder(TDSReader tdsReader) throws SQLServerException {
280
280
281
281
boolean onColMetaData (TDSReader tdsReader ) throws SQLServerException {
282
282
/*
283
- * SHOWPLAN or something else that produces extra metadata might be ON. instead of throwing an exception, warn
284
- * and discard the column meta data
283
+ * SHOWPLAN or something else that produces extra metadata might be ON. Log info instead of throwing an exception, warn
284
+ * and discard the extra column meta data
285
285
*/
286
- if (logger .isLoggable (Level .WARNING ))
287
- logger .warning (tdsReader .toString () + ": " + logContext + ": Discarding unexpected "
286
+ if (logger .isLoggable (Level .INFO ))
287
+ logger .info (tdsReader .toString () + ": " + logContext
288
+ + ": Discarding extra metadata which can be a result of SHOWPLAN settings: "
288
289
+ TDS .getTokenName (tdsReader .peekTokenType ()));
289
290
(new StreamColumns (false )).setFromTDS (tdsReader );
290
291
return false ;
You can’t perform that action at this time.
0 commit comments