From 2bf095bc20f12a8672e6704e194ffae54e5bfb0c Mon Sep 17 00:00:00 2001 From: Alexandra Date: Tue, 2 May 2023 12:57:07 +0300 Subject: [PATCH] Revert "Fix dsa_allocate for aqo_qtext_store to avoid segfault when out of memory (#166)" This reverts commit c80987852866bb0ae64188f9a18bcd2889ca7e13. --- storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage.c b/storage.c index bf004199..17f97555 100644 --- a/storage.c +++ b/storage.c @@ -1111,7 +1111,7 @@ aqo_qtext_store(uint64 queryid, const char *query_string) entry->queryid = queryid; size = size > querytext_max_size ? querytext_max_size : size; - entry->qtext_dp = dsa_allocate0(qtext_dsa, size); + entry->qtext_dp = dsa_allocate(qtext_dsa, size); if (!_check_dsa_validity(entry->qtext_dp)) {