diff --git a/lib/odbc_adapter/schema_statements.rb b/lib/odbc_adapter/schema_statements.rb index da187418..10a02d56 100644 --- a/lib/odbc_adapter/schema_statements.rb +++ b/lib/odbc_adapter/schema_statements.rb @@ -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|