summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-04-28 23:48:27 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-04-28 23:48:27 +0200
commitfc9cdb723bcd02dfdb83962ca1eda57ec4c10296 (patch)
tree45445fa95db191e84fa7e87b04a66c27582e3735 /ext/interbase/php_interbase.h
parent6d8892aacda5a24362ed5368812cba6427006c5d (diff)
downloadphp-git-fc9cdb723bcd02dfdb83962ca1eda57ec4c10296.tar.gz
Make MySQLPDOTest::extractVersion() more liberal
MySQL/MariaDB version strings may have suffixes which may contain dots; for instance, Debian stretch has 5.5.5-10.1.37-MariaDB-0+deb9u1 or such. Therefore, we make the version extraction more liberal, and only require that there are at least three parts separated by dot, and ignore additional parts. We also fix an erroneous test expectation, which would be triggered on CI now, right away. This patch has been provided by petk@.
Diffstat (limited to 'ext/interbase/php_interbase.h')
0 files changed, 0 insertions, 0 deletions