Tags: cakephp/database
Tags
Fix default value for boolean type in SQLite getting columns schema (… …#18973) * Fix default value getting columns schema in sqlite * fix as suggested Co-authored-by: Mark Scherer <dereuromark@users.noreply.github.com> * Add my suggestions to 18973 - Fixed failing tests - Aligned on int cast for boolean column default values. - Made validation stricter by not handling arbitrary string-integers * update @return signature Co-authored-by: ADmad <ADmad@users.noreply.github.com> --------- Co-authored-by: Mark Scherer <dereuromark@users.noreply.github.com> Co-authored-by: Mark Story <mark@mark-story.com> Co-authored-by: ADmad <ADmad@users.noreply.github.com>
Fix incorrect query generation with executed subqueries (#18922) Fix incorrectly generated queries that use a subquery, and that subquery has already been executed. If this scenario were to occur in application code, crafted inputs could allow by-pass access controls. Thanks to Kei Akiyama for reporting this via the security list.
PreviousNext