Skip to content

Commit

Permalink
Implement #372: Support session state tracking for GTIDs, schema, var…
Browse files Browse the repository at this point in the history
…iables, TX state

Add several methods and two new types for session state tracking:
- `session_state_changed` indicates whether session state has changed
- `get_session_gtids` returns a list of GTIDs created by the just-committed transaction, if applicable
- `get_session_new_schema` returns the new schema, if the schema changed
- `get_session_changed_variables` returns any changed session variables, if any
- `get_session_transaction_state` returns the transaction state, if any and available
- `get_session_transaction_characteristics` returns the transaction characteristics, if any and available
  • Loading branch information
beamerblvd committed Feb 17, 2020
1 parent c67dbd4 commit be77e9d
Show file tree
Hide file tree
Showing 4 changed files with 385 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ build/
dist/
MySQLdb/release.py
.coverage
.idea
Loading

0 comments on commit be77e9d

Please sign in to comment.