vitess.io/vitess@v0.16.2/go/vt/vtgate/planbuilder/testdata/flush_cases.json (about) 1 [ 2 { 3 "comment": "Flush statement", 4 "query": "flush tables unsharded, music", 5 "plan": { 6 "QueryType": "FLUSH", 7 "Original": "flush tables unsharded, music", 8 "Instructions": { 9 "OperatorType": "Send", 10 "Keyspace": { 11 "Name": "main", 12 "Sharded": false 13 }, 14 "TargetDestination": "AllShards()", 15 "Query": "flush tables unsharded, music" 16 }, 17 "TablesUsed": [ 18 "main.music", 19 "main.unsharded" 20 ] 21 } 22 }, 23 { 24 "comment": "Flush statement with no tables", 25 "query": "flush local tables with read lock", 26 "plan": { 27 "QueryType": "FLUSH", 28 "Original": "flush local tables with read lock", 29 "Instructions": { 30 "OperatorType": "Send", 31 "Keyspace": { 32 "Name": "main", 33 "Sharded": false 34 }, 35 "TargetDestination": "AllShards()", 36 "Query": "flush local tables with read lock" 37 } 38 } 39 }, 40 { 41 "comment": "Flush statement with flush options", 42 "query": "flush no_write_to_binlog hosts, logs", 43 "plan": { 44 "QueryType": "FLUSH", 45 "Original": "flush no_write_to_binlog hosts, logs", 46 "Instructions": { 47 "OperatorType": "Send", 48 "Keyspace": { 49 "Name": "main", 50 "Sharded": false 51 }, 52 "TargetDestination": "AllShards()", 53 "Query": "flush local hosts, logs" 54 } 55 } 56 } 57 ]