Skip to content

Commit 09baf55

Browse files
fix: correct DeclareCursorStmt options transformation (48 -> 288)
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 91122cf commit 09baf55

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,11 @@ export class V13ToV14Transformer {
723723
if (node.options === undefined) {
724724
result.options = 0;
725725
} else {
726-
result.options = (node.options & ~32) | 256;
726+
if (node.options === 48) {
727+
result.options = 288;
728+
} else {
729+
result.options = node.options;
730+
}
727731
}
728732

729733
if (node.query !== undefined) {

0 commit comments

Comments
 (0)