Unverified 提交 9e394a99 authored 作者: Noel Grandin's avatar Noel Grandin 提交者: GitHub

Merge pull request #815 from h2database/perf-test

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