fix another svace report

This commit is contained in:
HisShadow 2023-12-29 20:07:57 +03:00
parent ab2f311354
commit eb7815b1f8
2 changed files with 15 additions and 1 deletions

View file

@ -323,3 +323,17 @@ index e0cf63d..d30d9e1 100644
set_ns_and_type(ret, type);
}
return ret;
diff --git a/ext/mysqlnd/mysqlnd_result.c b/ext/mysqlnd/mysqlnd_result.c
index 4dcaf12..96e516b 100644
--- a/ext/mysqlnd/mysqlnd_result.c
+++ b/ext/mysqlnd/mysqlnd_result.c
@@ -1396,8 +1396,8 @@ MYSQLND_METHOD(mysqlnd_res, store_result_fetch_data)(MYSQLND_CONN_DATA * const c
UPSERT_STATUS_GET_SERVER_STATUS(conn->upsert_status));
free_end:
PACKET_FREE(&row_packet);
+ DBG_INF_FMT("rows=%llu", (unsigned long long)set->row_count);
end:
- DBG_INF_FMT("rows=%llu", (unsigned long long)result->stored_data->row_count);
DBG_RETURN(ret);
}
/* }}} */

View file

@ -27,7 +27,7 @@
Summary: The PHP7 scripting language
Name: php
Version: 7.4.33
Release: 3
Release: 4
Source0: http://ch1.php.net/distributions/php-%{version}.tar.gz
Source1: macros.php
Group: Development/PHP