diff --git a/src/ckdb.h b/src/ckdb.h index caee1fe2..c6640ada 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -51,7 +51,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.4" -#define CKDB_VERSION DB_VERSION"-1.900" +#define CKDB_VERSION DB_VERSION"-1.901" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/klist.c b/src/klist.c index 68da30b7..66298ea1 100644 --- a/src/klist.c +++ b/src/klist.c @@ -145,7 +145,7 @@ K_STORE *_k_new_store(K_LIST *list, KLIST_FFL_ARGS) store->master = list; store->is_store = true; - store->lock = list->lock; + store->lock = NULL; store->name = list->name; store->do_tail = list->do_tail; list->stores++;