Skip to content

Conversation

@ssddanbrown
Copy link
Member

@ssddanbrown ssddanbrown commented Nov 10, 2025

This was hardcoded since the table was always the same, but in some cases Laravel will auto-alias the table name (for example, when in sub-queries) which will break MySQL 5.7 when the scope attempts to use the table name instead of the alias.

Needs testing coverage.
For #5877

Todo

  • Full testing against supported major MySQL/MariaDB versions.
    • MySQL 5.7
    • MySQL 8.0
    • MySQL 8.4
    • MySQL 9.5
    • MariaDB 10.2
    • MariaDB 10.6
    • MariaDB 10.11
    • MariaDB 11.4
    • MariaDB 11.8
    • MariaDB 12.0
  • Coverage of this scenario in test cases if possible (Start a query and inspect it?)

This was hardcoded since the table was always the same, but in some
cases Laravel will auto-alias the table name (for example, when in
sub-queries) which will break MySQL 5.7 when the scope attempts to use
the table name instead of the alias.

Needs testing coverage.
For #5877
Also added skipping to avif tests for environments where GD does not
have built-in AVIF support
@ssddanbrown ssddanbrown merged commit 8ab9252 into development Nov 11, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants