Skip to content

Commit

Permalink
Add transaction flag (#79)
Browse files Browse the repository at this point in the history
Signed-off-by: Vinai Rachakonda <rachakondavinai@gmail.com>
  • Loading branch information
Vinai Rachakonda committed Jun 10, 2021
1 parent 4e83b95 commit d2579ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/mysql/constants.go
Expand Up @@ -500,6 +500,9 @@ const (
// Originally found in include/mysql/mysql_com.h
// See http://dev.mysql.com/doc/internals/en/status-flags.html
const (
// ServerInTransaction is SERVER_STATUS_IN_TRANS (a transaction is active)
ServerInTransaction = 0x0001

// ServerStatusAutocommit is SERVER_STATUS_AUTOCOMMIT.
ServerStatusAutocommit = 0x0002

Expand Down

0 comments on commit d2579ea

Please sign in to comment.