diff --git a/Database/Command.php b/Database/Command.php index d83fcf10..ce0a86b2 100644 --- a/Database/Command.php +++ b/Database/Command.php @@ -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();