vitess.io/vitess@v0.16.2/go/vt/vtgate/planbuilder/testdata/transaction_cases.json (about) 1 [ 2 { 3 "comment": "Begin", 4 "query": "begin", 5 "plan": { 6 "QueryType": "BEGIN", 7 "Original": "begin" 8 } 9 }, 10 { 11 "comment": "Start Transaction", 12 "query": "start transaction", 13 "plan": { 14 "QueryType": "BEGIN", 15 "Original": "start transaction" 16 } 17 }, 18 { 19 "comment": "Commit", 20 "query": "commit", 21 "plan": { 22 "QueryType": "COMMIT", 23 "Original": "commit" 24 } 25 }, 26 { 27 "comment": "Rollback", 28 "query": "rollback", 29 "plan": { 30 "QueryType": "ROLLBACK", 31 "Original": "rollback" 32 } 33 }, 34 { 35 "comment": "Savepoint", 36 "query": "savepoint a", 37 "plan": { 38 "QueryType": "SAVEPOINT", 39 "Original": "savepoint a" 40 } 41 }, 42 { 43 "comment": "Savepoint rollback", 44 "query": "rollback work to savepoint a", 45 "plan": { 46 "QueryType": "SAVEPOINT_ROLLBACK", 47 "Original": "rollback work to savepoint a" 48 } 49 }, 50 { 51 "comment": "Savepoint release", 52 "query": "release savepoint a", 53 "plan": { 54 "QueryType": "RELEASE", 55 "Original": "release savepoint a" 56 } 57 } 58 ]