Fix documentation for mysql processlist

- Fix code block and indentation
This commit is contained in:
Jeffrey Bouter 2018-10-11 13:33:01 +02:00
parent a8a3811b18
commit 01059cc857
No known key found for this signature in database
GPG key ID: 49D9F8B6DDB2A352

View file

@ -1965,17 +1965,20 @@ def processlist(**connection_args):
"SHOW FULL PROCESSLIST".
Returns: a list of dicts, with each dict representing a process:
.. code-block:: python
{'Command': 'Query',
'Host': 'localhost',
'Id': 39,
'Info': 'SHOW FULL PROCESSLIST',
'Rows_examined': 0,
'Rows_read': 1,
'Rows_sent': 0,
'State': None,
'Time': 0,
'User': 'root',
'db': 'mysql'}
'Host': 'localhost',
'Id': 39,
'Info': 'SHOW FULL PROCESSLIST',
'Rows_examined': 0,
'Rows_read': 1,
'Rows_sent': 0,
'State': None,
'Time': 0,
'User': 'root',
'db': 'mysql'}
CLI Example: