改名
This commit is contained in:
@@ -10,12 +10,11 @@ declare(strict_types=1);
|
|||||||
namespace Database;
|
namespace Database;
|
||||||
|
|
||||||
|
|
||||||
use Snowflake\Abstracts\Component;
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use PDO;
|
use PDO;
|
||||||
use PDOStatement;
|
use PDOStatement;
|
||||||
|
use Snowflake\Abstracts\Component;
|
||||||
use Snowflake\Core\Json;
|
use Snowflake\Core\Json;
|
||||||
use Snowflake\Exception\ComponentException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Command
|
* Class Command
|
||||||
@@ -126,6 +125,9 @@ class Command extends Component
|
|||||||
} else {
|
} else {
|
||||||
$result = $this->search($type);
|
$result = $this->search($type);
|
||||||
}
|
}
|
||||||
|
if (microtime(true) - $time >= 0.03) {
|
||||||
|
$this->warning('get client use time ' . (microtime(true) - $time));
|
||||||
|
}
|
||||||
if ($this->prepare) {
|
if ($this->prepare) {
|
||||||
$this->prepare->closeCursor();
|
$this->prepare->closeCursor();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user