fix: use full process list and info for operaiton in mysql server summary

This commit is contained in:
Pavel
2025-08-19 18:43:08 +02:00
parent 176d75768f
commit 4381829d16

View File

@@ -210,12 +210,12 @@ const drivers = driverBases.map(driverBase => ({
}, },
async listProcesses(dbhan) { async listProcesses(dbhan) {
const { rows } = await this.query(dbhan, 'SHOW PROCESSLIST'); const { rows } = await this.query(dbhan, 'SHOW FULL PROCESSLIST');
return rows.map(row => ({ return rows.map(row => ({
processId: row.Id, processId: row.Id,
connectionId: null, connectionId: null,
client: row.Host, client: row.Host,
operation: row.Command, operation: row.Info,
namespace: row.Database, namespace: row.Database,
runningTime: row.Time, runningTime: row.Time,
state: row.State, state: row.State,