Skip to content

Commit 17913c6

Browse files
byrootjoelhawksley
authored andcommitted
Get rid of unused reset_read_uncommitted method
Forgotten in rails#52462
1 parent 27eb7e7 commit 17913c6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,6 @@ def affected_rows(result)
121121
@last_affected_rows
122122
end
123123

124-
def reset_read_uncommitted
125-
read_uncommitted = ActiveSupport::IsolatedExecutionState[:active_record_read_uncommitted]
126-
return unless read_uncommitted
127-
128-
@raw_connection&.read_uncommitted = read_uncommitted
129-
end
130-
131124
def execute_batch(statements, name = nil)
132125
sql = combine_multi_statements(statements)
133126

0 commit comments

Comments
 (0)