Merge pull request #49997 from kyentei/doc-fix-mysql

Fix documentation for mysql processlist
This commit is contained in:
Nicole Thomas 2018-10-11 09:14:20 -04:00 committed by GitHub
commit 411635bc76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: