Closed
Description
Description
The version from SQL (from select version()
) should match the version reported by php mysqli/pdo_mysql drivers.
The following code:
var_dump(...->expr('select version()')->getOne()); // raw version from SQL
var_dump(...->getWrappedConnection()->getServerVersion()); // version from DBAL/mysqli
Resulted in this output:
string(35) "10.6.5-MariaDB-1:10.6.5+maria~focal"
string(41) "5.5.5-10.6.5-MariaDB-1:10.6.5+maria~focal"
But I expected this output instead:
string(35) "10.6.5-MariaDB-1:10.6.5+maria~focal"
string(41) "10.6.5-MariaDB-1:10.6.5+maria~focal"
PHP Version
8.0
Operating System
any
Metadata
Metadata
Assignees
Labels
No labels