summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Stoyan <[email protected]>2024-02-16 20:16:34 +0300
committerGitHub <[email protected]>2024-02-16 20:16:34 +0300
commita7fc8270079e5f3efb70107158a40786b1a501ab (patch)
tree3fbbbd34e81f1ed7ffd400e9940c400d68adbde5
parent6d3e410c4573ea9dca15ff7076cc9ab528f3c927 (diff)
mock of savepoints (#2026)
-rw-r--r--ydb/library/yql/sql/pg/pg_sql.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ydb/library/yql/sql/pg/pg_sql.cpp b/ydb/library/yql/sql/pg/pg_sql.cpp
index b45ed33872c..47236b5e0b4 100644
--- a/ydb/library/yql/sql/pg/pg_sql.cpp
+++ b/ydb/library/yql/sql/pg/pg_sql.cpp
@@ -2401,8 +2401,11 @@ public:
[[nodiscard]]
bool ParseTransactionStmt(const TransactionStmt* value) {
switch (value->kind) {
- case TRANS_STMT_BEGIN: [[fallthrough]] ;
+ case TRANS_STMT_BEGIN:
case TRANS_STMT_START:
+ case TRANS_STMT_SAVEPOINT:
+ case TRANS_STMT_RELEASE:
+ case TRANS_STMT_ROLLBACK_TO:
return true;
case TRANS_STMT_COMMIT:
Statements.push_back(L(A("let"), A("world"), L(A("CommitAll!"),