mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 09:05:59 +00:00
fix: use full process list and info for operaiton in mysql server summary
This commit is contained in:
@@ -210,12 +210,12 @@ const drivers = driverBases.map(driverBase => ({
|
||||
},
|
||||
|
||||
async listProcesses(dbhan) {
|
||||
const { rows } = await this.query(dbhan, 'SHOW PROCESSLIST');
|
||||
const { rows } = await this.query(dbhan, 'SHOW FULL PROCESSLIST');
|
||||
return rows.map(row => ({
|
||||
processId: row.Id,
|
||||
connectionId: null,
|
||||
client: row.Host,
|
||||
operation: row.Command,
|
||||
operation: row.Info,
|
||||
namespace: row.Database,
|
||||
runningTime: row.Time,
|
||||
state: row.State,
|
||||
|
||||
Reference in New Issue
Block a user