Skip to content

Commit

Permalink
Merge pull request #8 from patterninc/using_fetch_for_tables
Browse files Browse the repository at this point in the history
Using fetch for tables in odbc adapter
  • Loading branch information
satishaher authored Jun 26, 2024
2 parents f948586 + 45d6e8b commit c57096e
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 @@ -13,7 +13,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 c57096e

Please sign in to comment.