diff --git a/src/ckdb.h b/src/ckdb.h index 4c053ef3..be133eae 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -55,7 +55,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.0" -#define CKDB_VERSION DB_VERSION"-1.093" +#define CKDB_VERSION DB_VERSION"-1.094" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_data.c b/src/ckdb_data.c index 214eb81a..eedaff9b 100644 --- a/src/ckdb_data.c +++ b/src/ckdb_data.c @@ -990,7 +990,7 @@ void _workerstatus_update(AUTHS *auths, SHARES *shares, row->sharerej++; break; } - K_WLOCK(workerstatus_free); + K_WUNLOCK(workerstatus_free); } }