diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-28 17:12:45 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-28 17:13:43 +0100 |
commit | 8a5bc8c6be8e9ea5b7480a99f1e9b8c4bd6466e6 (patch) | |
tree | 67f32dfb7331be5e6a22911520051d2b6221e29b /ext/mysqli/php_mysqli_structs.h | |
parent | addc3c92f2956b4efea9d78f34262403adc393ad (diff) | |
download | php-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