From 3e72503b6a916bfd7ad92bd0a8f27e9039444ad5 Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 6 Jul 2026 21:15:25 +0800 Subject: [PATCH] eee --- ActiveQuery.php | 3 --- Command.php | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ActiveQuery.php b/ActiveQuery.php index ea40e89..b431e99 100644 --- a/ActiveQuery.php +++ b/ActiveQuery.php @@ -231,9 +231,6 @@ class ActiveQuery extends QueryTrait implements ISqlBuilder } $generate = $this->builder->update($data); if (!is_bool($generate)) { - - var_dump($generate); - return (bool)$this->buildCommand($generate)->exec(); } else { return $generate; diff --git a/Command.php b/Command.php index 445eccc..6c95973 100644 --- a/Command.php +++ b/Command.php @@ -179,6 +179,10 @@ class Command extends Component if (($prepare = $client->prepare($this->sql)) === false) { throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $prepare->errorInfo()[2]); } + + + var_dump($this->sql, $this->params); + if ($prepare->execute($this->params) === false) { throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $prepare->errorInfo()[2]); }