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
I have a test that uses a phpunit dataprovider having 3 values, each being the database driver to use. The 3 engines are PostgreSQL, MySQL, and sqlite.
It appears that when the test is run with 2nd case, MySQL, the escape char used to build the queries it's not updated to the one for MySQL which is `. It still is the one of PostgreSQL wich is ".
I have a test that uses a phpunit dataprovider having 3 values, each being the database driver to use. The 3 engines are PostgreSQL, MySQL, and sqlite.
It appears that when the test is run with 2nd case, MySQL, the escape char used to build the queries it's not updated to the one for MySQL which is
`
. It still is the one of PostgreSQL wich is"
.The cause is in this line of ci3.
https://github.com/bcit-ci/CodeIgniter/blob/3.1.13/system/database/DB_driver.php#L1417
If I remove the
static
from the$preg_ec
variable, the escape char is correctly set for MySQL.The text was updated successfully, but these errors were encountered: