We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 740a5fc commit 7e40233Copy full SHA for 7e40233
lib/arjdbc/oracle/adapter.rb
@@ -535,7 +535,7 @@ def supports_explain? # :nodoc:
535
def explain(arel, binds = [])
536
sql = "EXPLAIN PLAN FOR #{to_sql(arel)}"
537
return if sql =~ /FROM all_/
538
- exec_query(sql, 'EXPLAIN', binds)
+ execute(sql, 'EXPLAIN', binds)
539
select_values("SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY)", 'EXPLAIN').join("\n")
540
end
541
0 commit comments