Skip to content

Escape library as a table name in tests (#12170)#12220

Merged
greg0ire merged 1 commit intodoctrine:2.20.xfrom
mbeccati:fix-mysql9-library
Oct 11, 2025
Merged

Escape library as a table name in tests (#12170)#12220
greg0ire merged 1 commit intodoctrine:2.20.xfrom
mbeccati:fix-mysql9-library

Conversation

@mbeccati
Copy link
Copy Markdown
Contributor

It is a reserved word since MySQL 9.2:
https://dev.mysql.com/doc/refman/9.2/en/create-library.html

Fixes #12170

@mpdude
Copy link
Copy Markdown
Contributor

mpdude commented Oct 11, 2025

Nit-picking: More correct would it be to title the PR as "Escape library as a table name" or similar. We are not avoiding the name, after all, and not forbidding or recommending users to use it either.

@mbeccati mbeccati changed the title Avoid using LIBRARY as table name (#12170) Escape library as a table name in tests (#12170) Oct 11, 2025
@greg0ire greg0ire merged commit c1ce2bb into doctrine:2.20.x Oct 11, 2025
88 checks passed
@greg0ire greg0ire added this to the 2.20.7 milestone Oct 11, 2025
@mbeccati mbeccati deleted the fix-mysql9-library branch October 11, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants