diff options
author | YaacovHazan <31382944+YaacovHazan@users.noreply.github.com> | 2023-04-20 09:49:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 09:49:19 +0300 |
commit | 74959a0f73a44cfe56d5fb95957021c55b0ae214 (patch) | |
tree | 4a338ddebeb6084a9f05f28ef00fdbcb7fda5e03 /src/server.c | |
parent | 091412cf62f90c38cee20c1de2aa1016040d0e99 (diff) | |
download | redis-74959a0f73a44cfe56d5fb95957021c55b0ae214.tar.gz |
Misuse of bool in redis (#12077)
We currently do not allow the use of bool type in redis project.
We didn't catch it in script.c because we included hdr_histogram.h in server.h
Removing it (but still having it in some c files) reducing
the chance to miss the usage of bool type in the future and catch it
in compiling stage.
It also removes the dependency on hdr_histogram for every unit
that includes server.h
Diffstat (limited to 'src/server.c')
-rw-r--r-- | src/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c index e117b43b3..71a15e2b8 100644 --- a/src/server.c +++ b/src/server.c @@ -36,6 +36,7 @@ #include "atomicvar.h" #include "mt19937-64.h" #include "functions.h" +#include "hdr_histogram.h" #include "syscheck.h" #include <time.h> |