summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli_structs.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-28 17:12:45 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-01-28 17:13:43 +0100
commit8a5bc8c6be8e9ea5b7480a99f1e9b8c4bd6466e6 (patch)
tree67f32dfb7331be5e6a22911520051d2b6221e29b /ext/mysqli/php_mysqli_structs.h
parentaddc3c92f2956b4efea9d78f34262403adc393ad (diff)
downloadphp-git-8a5bc8c6be8e9ea5b7480a99f1e9b8c4bd6466e6.tar.gz
Fix mysqli_get_warnings() with multi queries
In this case warning_count may be non-zero, but php_get_warnings() may still return no warnings. In this case we should return false rather than returning a corrupted mysqli_warning object.
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
0 files changed, 0 insertions, 0 deletions