[php-src] Issue #7932: MariaDB version prefix `5.5.5-` is not stripped
| From: | mvorisek | Date: | Tue, 11 Jan 2022 17:38:34 +0000 |
| Subject: | [php-src] Issue #7932: MariaDB version prefix `5.5.5-` is not stripped | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238973@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7932
Comment Author: mvorisek
in https://github.com/php/php-src/blob/72cdb0af5500b57e4a83c6eeb64faf5bb3a917e7/ext/mysqlnd/mysqlnd_connection.c#L1281
there is a fix to parse the version correctly, however
mysqli::get_server_info method still returns the unfixed/prefixed version because of https://jira.mariadb.org/browse/MDEV-4088
protocol fix for replication
the version returned by mysqli::get_server_info should be fixed and should match
version returned by select version()