You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (strpos($statement, 'select') !== 0 || preg_match('/ from /', $statement)) {
When the "from" part of the query is at the start of a line (formatted for multiple lines), FROM DUAL is appended to the statement, causing the query to fail. I fixed the query by adding a space before from. We should be able to fix OracleBase.php by changing the regular expression to /\sfrom\s/, allowing any whitespace.
The text was updated successfully, but these errors were encountered:
See
Database/Driver/OracleBase.php
line 175:When the "from" part of the query is at the start of a line (formatted for multiple lines), FROM DUAL is appended to the statement, causing the query to fail. I fixed the query by adding a space before
from
. We should be able to fixOracleBase.php
by changing the regular expression to/\sfrom\s/
, allowing any whitespace.The text was updated successfully, but these errors were encountered: