From 7d8b971fd5bd6581b035a49897a9292bac31e3fe Mon Sep 17 00:00:00 2001 From: Andrey Saranchin <Andrey22102001@gmail.com> Date: Wed, 13 Sep 2023 14:12:54 +0300 Subject: [PATCH] test/fuzz: initialize event subsystem in sql fuzzer Sql fuzzer uses box module depending on event subsystem, which was not initialized by mistake. It didn't cause any problems because box does not use events yet, but it will use them when triggers will be moved to the trigger registry, so let's initialize event in sql fuzzer. Part of #8657 NO_CHANGELOG=test NO_DOC=test --- test/fuzz/sql_fuzzer/sql_fuzzer.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/fuzz/sql_fuzzer/sql_fuzzer.cc b/test/fuzz/sql_fuzzer/sql_fuzzer.cc index 57445206b0..62b82fdf33 100644 --- a/test/fuzz/sql_fuzzer/sql_fuzzer.cc +++ b/test/fuzz/sql_fuzzer/sql_fuzzer.cc @@ -6,6 +6,7 @@ #include "sql_query.pb.h" #include "sql_query_proto_to_string.h" +#include "event.h" #include "fiber.h" #include "memory.h" #include "coll/coll.h" @@ -21,6 +22,7 @@ setup() memory_init(); fiber_init(fiber_cxx_invoke); coll_init(); + event_init(); box_init(); sql_init(); } @@ -30,6 +32,7 @@ static void teardown() { box_free(); + event_free(); coll_free(); fiber_free(); memory_free(); -- GitLab