-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlite: reading schema information causes error #5133
Comments
@jpgerdeman could you attach your |
The described issue seems related to the underlying sqlite3(lib) version. On centos 8.5 or macOS with phpbrew the error does not occur. |
I have the same issue, on Travis CI when running my Laravel project tests with sqlite. Here is the error : My tests are run with php 8.0.9 |
We decided that this issue is not worth fixing. We recommend that the API consumers upgrade their |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Report
Summary
Loading fixtures into a sqlite database causes an error, as sqlite schema is being inspected.
sqlite extension is loaded.
Current behaviour
When trying to load a fixture into a sqlite database following error is thrown:
Doctrine\DBAL\Exception\SyntaxErrorException: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 near "(": syntax error
This is caused by the following SQL statements
When I revert the changes from commit 55259d5
everything works as expected.
How to reproduce
Following code reproduces the error. Note, only PDO is used not doctrine DBAL
Expected behaviour
The Fixtures are loaded without error
The text was updated successfully, but these errors were encountered: