Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: missing decrement

mertmit8ccf2f56d06c
diff --git a/packages/nocodb/src/db/CustomKnex.ts b/packages/nocodb/src/db/CustomKnex.ts
index dc51c69f9e..12f843603a 100644
--- a/packages/nocodb/src/db/CustomKnex.ts
+++ b/packages/nocodb/src/db/CustomKnex.ts
@@ -1204,6 +1204,7 @@ function CustomKnex(
}
if (trx._nested > 0) {
// Defer real commit to the outermost
+ trx._nested--;
return;
}