Skip to content

Commit 7e40233

Browse files
committed
fix broken explain on oracle due exec_xxx refactoring
1 parent 740a5fc commit 7e40233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arjdbc/oracle/adapter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def supports_explain? # :nodoc:
535535
def explain(arel, binds = [])
536536
sql = "EXPLAIN PLAN FOR #{to_sql(arel)}"
537537
return if sql =~ /FROM all_/
538-
exec_query(sql, 'EXPLAIN', binds)
538+
execute(sql, 'EXPLAIN', binds)
539539
select_values("SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY)", 'EXPLAIN').join("\n")
540540
end
541541

0 commit comments

Comments
 (0)