aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/vendor/mysql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/vendor/mysql.rb')
-rw-r--r--activerecord/lib/active_record/vendor/mysql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/vendor/mysql.rb b/activerecord/lib/active_record/vendor/mysql.rb
index 4970f77bd3..84f5d2533c 100644
--- a/activerecord/lib/active_record/vendor/mysql.rb
+++ b/activerecord/lib/active_record/vendor/mysql.rb
@@ -1091,7 +1091,7 @@ class << Mysql
when "\0" then "\\0"
when "\n" then "\\n"
when "\r" then "\\r"
- when "\032" then "\Z"
+ when "\032" then "\\Z"
else "\\"+$1
end
end