Skip to content

Commit

Permalink
Merge pull request #4 from patterninc/fix-odbc-error
Browse files Browse the repository at this point in the history
Replaced fetch_all with fetch
  • Loading branch information
jasonwells authored Feb 13, 2023
2 parents 31e866e + e9c43b9 commit 3976d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/odbc_adapter/schema_statements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def native_database_types
# current connection.
def tables(_name = nil)
stmt = @connection.tables
result = stmt.fetch_all || []
result = stmt.fetch || []
stmt.drop

result.each_with_object([]) do |row, table_names|
Expand Down

0 comments on commit 3976d58

Please sign in to comment.