Remove hardcoded latest version for sqlsrv and pdo_sqlsrv

This commit is contained in:
Shivam Mathur 2023-09-09 08:05:42 +05:30
parent 5aa416d77b
commit 04c15e2314
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -5,7 +5,8 @@ get_sqlsrv_version() {
elif [[ "${version:?}" =~ 7.4 ]]; then elif [[ "${version:?}" =~ 7.4 ]]; then
echo '5.10.1' echo '5.10.1'
else else
echo '5.11.1' # Return an empty string so that pecl will install the latest version.
echo ''
fi fi
} }