MXS-1780 Show last queries of session

'maxctrl show sessions' now show last queries of session, if
the retaining of statements has been enabled.
This commit is contained in:
Johan Wikman 2018-11-07 14:23:53 +02:00
parent 99bd621874
commit 1ca03fb85c

View File

@ -58,7 +58,8 @@ const session_fields = [
{'Connected': 'attributes.connected'},
{'Idle': 'attributes.idle'},
{'Connections': 'attributes.connections[].server'},
{'Connection IDs': 'attributes.connections[].protocol_diagnostics.connection_id'}
{'Connection IDs': 'attributes.connections[].protocol_diagnostics.connection_id'},
{'Queries': 'attributes.queries[].statement'}
]
const filter_fields = [