-
Notifications
You must be signed in to change notification settings - Fork 328
Open
Description
Steps to reproduce
oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
Lines 313 to 320 in bb97edc
def supports_fetch_first_n_rows_and_offset? | |
false | |
# TODO: At this point the connection is not initialized yet, | |
# so `database_version` raises an error | |
# | |
# !use_old_oracle_visitor && database_version.first >= 12 | |
end |
Expected behavior
supports_fetch_first_n_rows_and_offset?
should consider use_old_oracle_visitor
and database_version
Actual behavior
It always returns false
System configuration
Rails version: 7.1.4
Oracle enhanced adapter version: master branch
Ruby version: ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
Oracle Database version: Oracle Database 23ai Free Release 23.0.0.0.0 - Develop, Learn, and Run for Free
Metadata
Metadata
Assignees
Labels
No labels