Skip to content

Commit 31c39a2

Browse files
committed
fix transaction and savepoint AR tests, issues caused by a pull request
Omit BEGIN/COMMIT statements for empty transactions rails/rails#32647
1 parent 42f3b41 commit 31c39a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/arjdbc/mssql/adapter.rb

+8
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ def supports_transaction_isolation?
9797
true
9898
end
9999

100+
def supports_savepoints?
101+
true
102+
end
103+
104+
def supports_lazy_transactions?
105+
true
106+
end
107+
100108
# The MSSQL datetime type doe have precision.
101109
def supports_datetime_with_precision?
102110
true

0 commit comments

Comments
 (0)