提交 49124b24 authored 作者: Philippe Marschall's avatar Philippe Marschall 提交者: Sergi Vladykin

Fix Debug Log Typos (#432)

Some typos snuck into debug log messages causing a wrong class name to
be logged.
上级 0acaf01d
...@@ -1184,7 +1184,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS ...@@ -1184,7 +1184,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
try { try {
int id = getNextId(TraceObject.ARRAY); int id = getNextId(TraceObject.ARRAY);
if (isDebugEnabled()) { if (isDebugEnabled()) {
debugCodeAssign("Clob", TraceObject.ARRAY, id, "getArray(" + columnIndex + ")"); debugCodeAssign("Array", TraceObject.ARRAY, id, "getArray(" + columnIndex + ")");
} }
Value v = get(columnIndex); Value v = get(columnIndex);
return v == ValueNull.INSTANCE ? null : new JdbcArray(conn, v, id); return v == ValueNull.INSTANCE ? null : new JdbcArray(conn, v, id);
...@@ -1206,7 +1206,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS ...@@ -1206,7 +1206,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
try { try {
int id = getNextId(TraceObject.ARRAY); int id = getNextId(TraceObject.ARRAY);
if (isDebugEnabled()) { if (isDebugEnabled()) {
debugCodeAssign("Clob", TraceObject.ARRAY, id, "getArray(" + debugCodeAssign("Array", TraceObject.ARRAY, id, "getArray(" +
quote(columnLabel) + ")"); quote(columnLabel) + ")");
} }
Value v = get(columnLabel); Value v = get(columnLabel);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论