Skip to content

Commit

Permalink
SP shows SQl profile hints
Browse files Browse the repository at this point in the history
  • Loading branch information
rammpeter committed Jun 16, 2024
1 parent bb0827d commit b05f574
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ GEM
activesupport (>= 6.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jarbler (0.2.2)
jarbler (0.2.3)
jbuilder (2.12.0)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
Expand Down Expand Up @@ -113,7 +113,7 @@ GEM
net-smtp (0.5.0)
net-protocol
nio4r (2.7.3-java)
nokogiri (1.16.5-java)
nokogiri (1.16.6-java)
racc (~> 1.4)
playwright-ruby-client (1.44.0)
concurrent-ruby (>= 1.1.6)
Expand Down
3 changes: 2 additions & 1 deletion app/helpers/explain_plan_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ def hint_usage_from_other_xml(plan_array)
when 'OU' then "This hint is supplied internally by Oracle (OU)\n"
when 'PE' then "Syntax parsing error (PE)!\n"
when 'SH' then "related to MMON stats advisor auto task (SH)\n"
when 'SR' then "Hint is supplied by a SQL profile (SR)\n"
when 'SP' then "Hint is supplied by a SQL profile (SP)\n"
when 'SR' then "Hint is supplied by a SQL profile (SR)\n" # really? possibly SR is only a typo
when 'UR' then "This hint is unresolved (UR)!\n"
else "Unknown attribute for hint usage (#{attr[:value]})\n"
end
Expand Down

0 comments on commit b05f574

Please sign in to comment.