Skip to content

Commit 49028d0

Browse files
authored
Merge pull request #2341 from yahonda/remove_optimizer_features_enable_2
Remove OPTIMIZER_FEATURES_ENABLE('11.2.0.2') hint take 2
2 parents 737d2eb + d5e619d commit 49028d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/oracle_enhanced/structure_dump.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def structure_dump_synonyms # :nodoc:
267267

268268
def structure_drop # :nodoc:
269269
sequences = select_values(<<~SQL.squish, "SCHEMA")
270-
SELECT/*+ OPTIMIZER_FEATURES_ENABLE('11.2.0.2') */
270+
SELECT
271271
sequence_name FROM all_sequences where sequence_owner = SYS_CONTEXT('userenv', 'current_schema') ORDER BY 1
272272
SQL
273273
statements = sequences.map do |seq|

0 commit comments

Comments
 (0)