Merge pull request #766 from GrahamCampbell/patch-1

Use sqlsvr 5.11.1 on PHP 8
This commit is contained in:
Shivam Mathur 2023-09-09 07:18:11 +05:30 committed by GitHub
commit 5aa416d77b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,10 @@
get_sqlsrv_version() { get_sqlsrv_version() {
if [[ "${version:?}" =~ 7.[0-3] ]]; then if [[ "${version:?}" =~ 7.[0-3] ]]; then
echo '5.9.0' echo '5.9.0'
else elif [[ "${version:?}" =~ 7.4 ]]; then
echo '5.10.1' echo '5.10.1'
else
echo '5.11.1'
fi fi
} }