This commit is contained in:
as2252258@163.com
2021-04-28 00:19:53 +08:00
parent 0485a1d95f
commit 3e68828fc6
+1 -1
View File
@@ -122,8 +122,8 @@ class Command extends Component
*/ */
private function execute($type, $isInsert = null, $hasAutoIncrement = null): int|bool|array|string|null private function execute($type, $isInsert = null, $hasAutoIncrement = null): int|bool|array|string|null
{ {
$time = microtime(true);
try { try {
$time = microtime(true);
if ($type === static::EXECUTE) { if ($type === static::EXECUTE) {
$result = $this->insert_or_change($isInsert, $hasAutoIncrement); $result = $this->insert_or_change($isInsert, $hasAutoIncrement);
} else { } else {