diff options
author | Christopher Jones <sixd@php.net> | 2018-09-24 20:53:11 +1000 |
---|---|---|
committer | Christopher Jones <sixd@php.net> | 2018-09-24 20:53:11 +1000 |
commit | 682d0f83252783f474e5a6cd9c6f29e40b69d400 (patch) | |
tree | cdc2a49a6caaf6f957a42708c9cca7c436602289 | |
parent | 4ba1fc0a1152042608b898802b9102273c0da957 (diff) | |
parent | 9e56a3373e88c6e147a5e11acddf134d2d3209ba (diff) | |
download | php-git-682d0f83252783f474e5a6cd9c6f29e40b69d400.tar.gz |
Merge branch 'PHP-7.1' into PHP-7.2
-rw-r--r-- | ext/oci8/oci8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 63fb334c99..aac2484d3e 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1788,12 +1788,12 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char timestamp = time(NULL); smart_str_append_unsigned_ex(&hashed_details, session_mode, 0); - smart_str_0(&hashed_details); - if (persistent) { smart_str_appendl_ex(&hashed_details, "pc", sizeof("pc") - 1, 0); } + smart_str_0(&hashed_details); + /* make it lowercase */ php_strtolower(ZSTR_VAL(hashed_details.s), ZSTR_LEN(hashed_details.s)); |