Skip to content

Commit

Permalink
Revert "Push valid_type? up to abstract adapter"
Browse files Browse the repository at this point in the history
This reverts commit 09c56bd.
  • Loading branch information
yahonda committed Feb 27, 2017
1 parent 1d13d4d commit 42a3ac5
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -915,6 +915,10 @@ def temporary_table?(table_name) #:nodoc:
select_value("SELECT temporary FROM all_tables WHERE table_name = '#{table_name.upcase}' and owner = SYS_CONTEXT('userenv', 'session_user')") == "Y"
end

def valid_type?(type)
!native_database_types[type].nil?
end

def combine_bind_parameters(
from_clause: [],
join_clause: [],
Expand Down

0 comments on commit 42a3ac5

Please sign in to comment.