Skip to content

Conversation

@xPaw
Copy link
Contributor

@xPaw xPaw commented Feb 19, 2022

Closes #273

@xPaw xPaw changed the title Use lowercase table name in tests to fix Use lowercase table name in tests to fix issue on Windows Feb 19, 2022
Copy link
Owner

@staabm staabm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix/workaround seems fine for our testsuite.

I think we will see when phpstan-dba is used in various setups, whether we need a actual fix for the underlying problem.

After re-recording the replay information this can be merged.

Thank you

@xPaw
Copy link
Contributor Author

xPaw commented Feb 19, 2022

I think this might only be a problem for error messages where the table name is printed? Because quering tables in different casing when table exists works fine.

@staabm staabm merged commit 39616d7 into staabm:main Feb 20, 2022
@staabm
Copy link
Owner

staabm commented Feb 20, 2022

I think this might only be a problem for error messages where the table name is printed?

thats one case, correct. I did not think it through whether there are other cases which are relevant.

thank you!

@xPaw xPaw deleted the fix-273 branch February 20, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: mariadb forces lowercase table names

3 participants