Skip to content

Commit

Permalink
Revert changes of mapping result of execute
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseChavez committed Aug 6, 2024
1 parent 68fbc0b commit 3d8147f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java/arjdbc/jdbc/RubyJdbcConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,8 @@ public IRubyObject execute(final ThreadContext context, final IRubyObject sql) {
// Unfortunately the result set gets closed when getMoreResults()
// is called, so we have to process the result sets as we get them
// this shouldn't be an issue in most cases since we're only getting 1 result set anyways
//result = mapExecuteResult(context, connection, resultSet);
result = mapToRawResult(context, connection, resultSet, false);
result = mapExecuteResult(context, connection, resultSet);
// result = mapToRawResult(context, connection, resultSet, false);
resultSet.close();
} else {
result = context.runtime.newFixnum(updateCount);
Expand Down

0 comments on commit 3d8147f

Please sign in to comment.