diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-07-19 10:56:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 10:56:32 +0300 |
commit | 0cbcdadf5a972d531b7d5e78afa21a71004a9777 (patch) | |
tree | 4e4f111bf22cfd0793f7000c78815b9be2af4db8 /libs | |
parent | 960528b36379f95bc1bb5b576df27bad555c751e (diff) |
do not try and set mysqli ssl option through mysqli_options since it is set later via mysqli_ssl_set (#17788)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/Zend/Db/Adapter/Mysqli.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/Zend/Db/Adapter/Mysqli.php b/libs/Zend/Db/Adapter/Mysqli.php index 9eb3d7f482..e896b71a0d 100644 --- a/libs/Zend/Db/Adapter/Mysqli.php +++ b/libs/Zend/Db/Adapter/Mysqli.php @@ -313,6 +313,7 @@ class Zend_Db_Adapter_Mysqli extends Zend_Db_Adapter_Abstract if(array_key_exists($option, $ssl_options)) { $ssl_options[$option] = $value; $enable_ssl = true; + continue; // these options are set below in mysqli_ssl_set } elseif(is_string($option)) { // Suppress warnings here // Ignore it if it's not a valid constant |