提交 d418d982 authored 作者: andrei's avatar andrei

Fix count of copleted statements

上级 85d035f6
...@@ -436,7 +436,7 @@ class Database { ...@@ -436,7 +436,7 @@ class Database {
* @param prep the prepared statement * @param prep the prepared statement
*/ */
void queryReadResult(PreparedStatement prep) throws SQLException { void queryReadResult(PreparedStatement prep) throws SQLException {
ResultSet rs = prep.executeQuery(); ResultSet rs = query(prep);
ResultSetMetaData meta = rs.getMetaData(); ResultSetMetaData meta = rs.getMetaData();
int columnCount = meta.getColumnCount(); int columnCount = meta.getColumnCount();
while (rs.next()) { while (rs.next()) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论