From 6c82717028b3813656174aba2fec3a4dcb172822 Mon Sep 17 00:00:00 2001 From: kanoi Date: Thu, 1 Sep 2016 20:20:51 +1000 Subject: [PATCH] ckdb - allow cmd_query during reload --- src/ckdb.c | 2 +- src/ckdb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.c b/src/ckdb.c index 227d9604..885096e8 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -6386,6 +6386,7 @@ static void *process_socket(__maybe_unused void *arg) case CMD_EVENTS: case CMD_HIGH: case CMD_THREADS: + case CMD_QUERY: msgline->sockd = bq->sockd; bq->sockd = -1; K_WLOCK(workqueue_free); @@ -6427,7 +6428,6 @@ static void *process_socket(__maybe_unused void *arg) case CMD_DSP: case CMD_BLOCKSTATUS: case CMD_MARKS: - case CMD_QUERY: if (!startup_complete && !key_update) { snprintf(reply, sizeof(reply), "%s.%ld.loading.%s", diff --git a/src/ckdb.h b/src/ckdb.h index 0ccc0180..553fffa4 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -58,7 +58,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.7" -#define CKDB_VERSION DB_VERSION"-2.444" +#define CKDB_VERSION DB_VERSION"-2.445" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__