Do not populate the 'arguments' property if commands received with MONITOR do not carry an argument list.

This commit is contained in:
Daniele Alessandri
2011-04-25 14:16:12 +02:00
parent 88a9f509b4
commit e507198cc3
+1 -1
View File
@@ -76,7 +76,7 @@ class MonitorContext implements \Iterator {
'timestamp' => (float) $timestamp,
'database' => $database,
'command' => substr($command, 1, -1),
'arguments' => $arguments ?: '',
'arguments' => $arguments,
);
}
}