Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ func (ss *session) Loop(ctx context.Context, commandIn commandIn) error {
} else {
err = ErrInvalidRollback
}
case "SAVEPOINT", "SAVE", "RELEASE":

// Executable but return nothing, safe in transaction
case "SAVEPOINT", "SAVE", "RELEASE", "SET":
misc.Echo(ss.spool, query)
err = doTCL(ctx, ss, query)

Expand Down
2 changes: 1 addition & 1 deletion release_note_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### Specification Changes

- Enable `RELEASE SAVEPOINT`(#19) and `REPLACE INTO`(#20,MySQL) to execute within a transaction.
- Enable `RELEASE SAVEPOINT`(#19), `REPLACE INTO`(#20,MySQL) and `SET`(#21) to execute within a transaction.

v0.26.0
=======
Expand Down
2 changes: 1 addition & 1 deletion release_note_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### 仕様変更

- `RELEASE SAVEPOINT` (#19), `REPLACE INTO` (#20,MySQL) もトランザクション内で実行できるようにした。
- `RELEASE SAVEPOINT` (#19), `REPLACE INTO` (#20,MySQL), `SET`(#21) もトランザクション内で実行できるようにした。

v0.26.0
=======
Expand Down