summaryrefslogtreecommitdiff
path: root/ext/mysqlnd
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-09-24 00:12:08 +0100
committerGeorge Peter Banyard <girgias@php.net>2020-10-09 20:54:23 +0100
commit3b22b5fdf6cd761eba65140b23d97d9c1f8c9997 (patch)
treee401c593e16dc7f741b854cbe07f7e1bf3b0cb35 /ext/mysqlnd
parentfd1672a7f31cd0d2f385f40fe0e9350c72214ddf (diff)
downloadphp-git-3b22b5fdf6cd761eba65140b23d97d9c1f8c9997.tar.gz
Fix [-Wduplicated-cond] in MySQLnd driver
Changing it to TYPE_C as this is the only other type in the mysqlnd_buffered_type enum
Diffstat (limited to 'ext/mysqlnd')
-rw-r--r--ext/mysqlnd/mysqlnd_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c
index 2415b91a3b..5572c73fd6 100644
--- a/ext/mysqlnd/mysqlnd_ps.c
+++ b/ext/mysqlnd/mysqlnd_ps.c
@@ -109,7 +109,7 @@ MYSQLND_METHOD(mysqlnd_stmt, store_result)(MYSQLND_STMT * const s)
}
/* Position at the first row */
set->data_cursor = set->data;
- } else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_ZVAL) {
+ } else if (result->stored_data->type == MYSQLND_BUFFERED_TYPE_C) {
/*TODO*/
}