diff --git a/src/ckdb.h b/src/ckdb.h index 3c8b4ac1..ceabfde1 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -55,7 +55,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.4" -#define CKDB_VERSION DB_VERSION"-1.601" +#define CKDB_VERSION DB_VERSION"-1.602" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_cmd.c b/src/ckdb_cmd.c index 18c89302..b91542da 100644 --- a/src/ckdb_cmd.c +++ b/src/ckdb_cmd.c @@ -3595,7 +3595,7 @@ static char *cmd_setatts(PGconn *conn, char *cmd, char *id, goto bats; } else { DATA_USERS(users, u_item); - t_item = first_in_ktree(trf_root, ctx); + t_item = first_in_ktree_nolock(trf_root, ctx); while (t_item) { DATA_TRANSFER(transfer, t_item); if (strncmp(transfer->name, "ua_", 3) == 0) { @@ -3907,7 +3907,7 @@ static char *cmd_setopts(PGconn *conn, char *cmd, char *id, LOGDEBUG("%s(): cmd '%s'", __func__, cmd); - t_item = first_in_ktree(trf_root, ctx); + t_item = first_in_ktree_nolock(trf_root, ctx); while (t_item) { DATA_TRANSFER(transfer, t_item); if (strncmp(transfer->name, "oc_", 3) == 0) {