[Koha-bugs] [Bug 25040] Problematic current_timestamp syntax generated by DBIx::Class::Schema::Loader

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 3 09:28:17 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25040

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
This highlights a difference in recent MariaDB versions and I intend to submit
a patch to DBIx::Class::Schema::Loader::DBI::mysql to account for it.

To summarise, in the mysql drive for Schema::Loader there is an 'eq' match
looking for 'current_timestamp' to add in special handling for it.  But,
MariaDB now returns 'current_timestamp()' from the DESCRIBE call and as such
the 'eq' no longer matches and we fallback to just putting in whatever we are
returned from the DB call.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list