diff --git a/src/ckdb.c b/src/ckdb.c index 7ec8e2f4..1dc84486 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -5654,6 +5655,8 @@ int main(int argc, char **argv) int c, ret; char *kill; + feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW); + global_ckp = &ckp; memset(&ckp, 0, sizeof(ckp)); ckp.loglevel = LOG_NOTICE;