Skip to content

Commit

Permalink
Merge pull request #2341 from yahonda/remove_optimizer_features_enable_2
Browse files Browse the repository at this point in the history
Remove OPTIMIZER_FEATURES_ENABLE('11.2.0.2') hint take 2
  • Loading branch information
yahonda committed May 23, 2023
2 parents 737d2eb + d5e619d commit 49028d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def structure_dump_synonyms # :nodoc:

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

0 comments on commit 49028d0

Please sign in to comment.