Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New Frontbase connections don't start in auto-commit mode. Closes #4922

…. [mlaster@metavillage.com]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4302 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit bb875172e2812488439fd5f8e7ff9fa1646ea77c 1 parent b792945
Marcel Molina authored
View
2  activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* New Frontbase connections don't start in auto-commit mode. Closes #4922. [mlaster@metavillage.com]
+
* When grouping, use the appropriate option key. [Marcel Molina Jr.]
* Only modify the sequence name in the FrontBase adapter if the FrontBase adapter is actually being used. [Marcel Molina Jr.]
View
3  activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb
@@ -229,6 +229,9 @@ def initialize(connection, logger, connection_options, config)
@connection_options, @config = connection_options, config
@transaction_mode = :pessimistic
+ # Start out in auto-commit mode
+ self.rollback_db_transaction
+
# threaded_connections_test.rb will fail unless we set the session
# to optimistic locking mode
# set_pessimistic_transactions
Please sign in to comment.
Something went wrong with that request. Please try again.