]> git.ipfire.org Git - thirdparty/bugzilla.git/commit
Bug 1467006: explicit MariaDB support (#140) - version detection fix (#168)
authorDaniel Black <daniel@mariadb.org>
Wed, 8 May 2024 01:33:17 +0000 (11:33 +1000)
committerGitHub <noreply@github.com>
Wed, 8 May 2024 01:33:17 +0000 (21:33 -0400)
commitd1acd81eb59908fc36a54d3874bc1faeec125d59
tree556b1357d1c1adabbc4c67d297df3836388ffad8
parentf4bedd8b09da0d78c52ff6d874a3f14116210f60
Bug 1467006: explicit MariaDB support (#140) - version detection fix (#168)

Small post-fix on 35a060cbd9d880541ad7e6c02710c0c3647a3b19 as MariaDB-11.0 removed the 5.5.5- replication prefix.

The reliable way to have MariaDB detected is looking for "-MariaDB" in the version string. Distro packages may add a suffix so an unanchored match is pretty reliable.
Bugzilla/DB.pm