Skip to content
This repository
Browse code

Support the use of public synonyms with the Oracle adapter; required …

…ruby-oci8 v0.1.14 (closes #4390) [schoenm@earthlink.net]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 1886de8612ace10719d09902d550e1ac077325e5 1 parent c4f1979
David Heinemeier Hansson authored March 26, 2006
2  activerecord/CHANGELOG
... ...
@@ -1,5 +1,7 @@
1 1
 *SVN*
2 2
 
  3
+* Support the use of public synonyms with the Oracle adapter; required ruby-oci8 v0.1.14 #4390 [schoenm@earthlink.net]
  4
+
3 5
 * Change periods (.) in table aliases to _'s.  Closes #4251 [jeff@ministrycentered.com]
4 6
 
5 7
 * Changed has_and_belongs_to_many join to INNER JOIN for Mysql 3.23.x.  Closes #4348 [Rick]
1  activerecord/lib/active_record/connection_adapters/oracle_adapter.rb
@@ -537,6 +537,7 @@ def object_info(name)
537 537
 
538 538
     def describe(name, type)
539 539
       @desc ||= @@env.alloc(OCIDescribe)
  540
+      @desc.attrSet(OCI_ATTR_DESC_PUBLIC, -1) if VERSION >= '0.1.14'
540 541
       @desc.describeAny(@svc, name, type)
541 542
       @desc.attrGet(OCI_ATTR_PARAM)
542 543
     end

0 notes on commit 1886de8

Please sign in to comment.
Something went wrong with that request. Please try again.