This commit is contained in:
2021-04-27 10:58:31 +08:00
parent 3a3afc2861
commit 2f8eae59aa
+1 -1
View File
@@ -126,7 +126,7 @@ class Command extends Component
$result = $this->search($type);
}
if (microtime(true) - $time >= 0.03) {
$this->warning('get client use time ' . (microtime(true) - $time));
$this->warning('execute sql `' . $this->sql . '` use time ' . (microtime(true) - $time));
}
if ($this->prepare) {
$this->prepare->closeCursor();