eee
This commit is contained in:
@@ -92,6 +92,7 @@ class Command extends Component
|
||||
{
|
||||
$client = $this->connection->getConnection();
|
||||
try {
|
||||
$client->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
|
||||
if (($prepare = $client->query($this->sql)) === false) {
|
||||
throw new Exception('(' . $prepare->errorInfo()[0] . ')' . $client->errorInfo()[2]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user