rails/activerecord/test
Yash Kapadia 0702c24e7b Fix single quote escapes on default generated MySQL columns
MySQL 5.7.5+ supports generated columns, which can be used to create a column that is computed from an expression. This commit fixes the escaping of the default value for such expressions if a single quote is included.

See the following for more: https://dev.mysql.com/blog-archive/generated-columns-in-mysql-5-7-5/
2024-01-17 07:12:27 -05:00
..
active_record/connection_adapters Add deprecation and specific exceptions to warn when an adapter is using the legacy registration format in 7.2 2023-11-30 07:00:38 -05:00
activejob [Tests only] Enable `Minitest/AssertPredicate` rule 2023-10-13 19:26:47 +00:00
assets Replace test `Man` with `Human` 2020-08-14 11:37:09 -04:00
cases Fix single quote escapes on default generated MySQL columns 2024-01-17 07:12:27 -05:00
fixtures Fix `destroy_all` for `has_many :through` associations that points to a CPK model 2023-06-14 17:48:13 +00:00
migrations Sort migration ID as int in db:migrate:status for consistency. 2021-07-16 13:10:31 -05:00
models Merge pull request #46383 from dmytro-savochkin/fix-activerecord-reload-association-cache 2024-01-15 15:48:25 -05:00
schema Fix single quote escapes on default generated MySQL columns 2024-01-17 07:12:27 -05:00
support Remove an unused fixture 2024-01-11 09:27:30 +01:00
config.example.yml Move trilogy config closer to mysql2 2023-06-20 15:30:07 +00:00
config.rb Delete AS::Dependencies.safe_constantize 2021-08-20 17:51:05 +02:00