We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: dev-master
dev-master
When you use single quote ' or " in a SQL comment, dibi fails with Dibi\Exception: SQL translate error: Alone quote
'
"
Dibi\Exception: SQL translate error: Alone quote
Make a comment in SQL query containg single ' or " in it. E.g. in tests/dibi/Connection.fetch.phpt:
tests/dibi/Connection.fetch.phpt
$res = $conn->query(<<<SQL SELECT [title] FROM [products] ORDER BY [product_id] -- this isn't working SQL );
Pass without problem
The text was updated successfully, but these errors were encountered:
Please send a PR if you can fix this.
Sorry, something went wrong.
Sorry, not that easy for me..
No branches or pull requests
Version:
dev-master
Bug Description
When you use single quote
'
or"
in a SQL comment, dibi fails withDibi\Exception: SQL translate error: Alone quote
Steps To Reproduce
Make a comment in SQL query containg single
'
or"
in it. E.g. intests/dibi/Connection.fetch.phpt
:Expected Behavior
Pass without problem
The text was updated successfully, but these errors were encountered: