We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 410ad1c + d796fe3 commit 5608e7bCopy full SHA for 5608e7b
activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -762,7 +762,6 @@ def extended_type_map_key
762
def handle_warnings(sql)
763
return if ActiveRecord.db_warnings_action.nil? || @raw_connection.warning_count == 0
764
765
- @affected_rows_before_warnings = @raw_connection.affected_rows
766
warning_count = @raw_connection.warning_count
767
result = @raw_connection.query("SHOW WARNINGS")
768
result = [
0 commit comments