You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UNION is behaving differently with newer MariaDB and PHP7.
Kohana's DB builder is using brackets (SELECT ...) UNION ALL (SELECT ...) ORDER BY id DESC
With brackets result won't be ordered / sorted correctly. Brackets will break ORDER BY.
Here's fix: SELECT ... UNION ALL SELECT ... ORDER BY id DESC
UNION is behaving differently with newer MariaDB and PHP7.
Kohana's DB builder is using brackets
(SELECT ...) UNION ALL (SELECT ...) ORDER BY id DESC
With brackets result won't be ordered / sorted correctly. Brackets will break ORDER BY.
Here's fix:
SELECT ... UNION ALL SELECT ... ORDER BY id DESC
/modules/database/classes/Kohana/Database/Query/Builder/Select.php
The text was updated successfully, but these errors were encountered: