Browse Source

ckdb - allow cmd_query during reload

master
kanoi 8 years ago
parent
commit
6c82717028
  1. 2
      src/ckdb.c
  2. 2
      src/ckdb.h

2
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",

2
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__

Loading…
Cancel
Save