@prisma/query-plan-executor 7.2.0-integration-fix-enums-mapped-types-v7.1 → 7.2.0-integration-fix-sqlite-deadlock-fix.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -97773,7 +97773,7 @@ __export(index_exports, {
|
|
|
97773
97773
|
module.exports = __toCommonJS(index_exports);
|
|
97774
97774
|
|
|
97775
97775
|
// package.json
|
|
97776
|
-
var version = "7.2.0-integration-fix-
|
|
97776
|
+
var version = "7.2.0-integration-fix-sqlite-deadlock-fix.2";
|
|
97777
97777
|
|
|
97778
97778
|
// ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
|
|
97779
97779
|
function clampProp(e2, n2, t2, o2, r2) {
|
|
@@ -107859,16 +107859,14 @@ var TransactionManager = class {
|
|
|
107859
107859
|
const abortController = new AbortController();
|
|
107860
107860
|
const startTimer = createTimeoutIfDefined(() => abortController.abort(), options.maxWait);
|
|
107861
107861
|
startTimer?.unref?.();
|
|
107862
|
-
const startTransactionPromise = this.driverAdapter.startTransaction(options.isolationLevel).catch(rethrowAsUserFacing);
|
|
107863
107862
|
transaction.transaction = await Promise.race([
|
|
107864
|
-
|
|
107863
|
+
this.driverAdapter.startTransaction(options.isolationLevel).catch(rethrowAsUserFacing).finally(() => clearTimeout(startTimer)),
|
|
107865
107864
|
once(abortController.signal, "abort").then(() => void 0)
|
|
107866
107865
|
]);
|
|
107867
107866
|
this.transactions.set(transaction.id, transaction);
|
|
107868
107867
|
switch (transaction.status) {
|
|
107869
107868
|
case "waiting":
|
|
107870
107869
|
if (abortController.signal.aborted) {
|
|
107871
|
-
void startTransactionPromise.then((tx) => tx.rollback()).catch((e2) => debug3("error in discarded transaction:", e2));
|
|
107872
107870
|
await this.#closeTransaction(transaction, "timed_out");
|
|
107873
107871
|
throw new TransactionStartTimeoutError();
|
|
107874
107872
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/query-plan-executor",
|
|
3
|
-
"version": "7.2.0-integration-fix-
|
|
3
|
+
"version": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"temporal-polyfill": "0.3.0",
|
|
21
21
|
"vitest": "3.2.4",
|
|
22
22
|
"zod": "4.1.3",
|
|
23
|
-
"@prisma/adapter-
|
|
24
|
-
"@prisma/adapter-
|
|
25
|
-
"@prisma/adapter-mssql": "7.2.0-integration-fix-
|
|
26
|
-
"@prisma/
|
|
27
|
-
"@prisma/
|
|
23
|
+
"@prisma/adapter-pg": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
24
|
+
"@prisma/adapter-mariadb": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
25
|
+
"@prisma/adapter-mssql": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
26
|
+
"@prisma/client-engine-runtime": "7.2.0-integration-fix-sqlite-deadlock-fix.2",
|
|
27
|
+
"@prisma/driver-adapter-utils": "7.2.0-integration-fix-sqlite-deadlock-fix.2"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"dist"
|