update to 2.5.6 (build 423)

This commit is contained in:
crazywhalecc
2021-10-17 23:55:02 +08:00
parent e020e5d593
commit 66dd91bb97
3 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
# 更新日志v2 版本) # 更新日志v2 版本)
## v2.5.6 (build 423)
> 更新时间2021.10.17
- 修复 PHP 7.2 ~ 7.3 下无法使用新版 MySQL 组件的 bug
## v2.5.5 (build 422) ## v2.5.5 (build 422)
> 更新时间2021.10.6 > 更新时间2021.10.6

View File

@@ -28,8 +28,8 @@ class ConsoleApplication extends Application
{ {
private static $obj = null; private static $obj = null;
const VERSION_ID = 422; const VERSION_ID = 423;
const VERSION = "2.5.5"; const VERSION = "2.5.6";
/** /**
* @throws InitException * @throws InitException

View File

@@ -7,11 +7,12 @@ namespace ZM\MySQL;
use Doctrine\DBAL\Driver\Statement; use Doctrine\DBAL\Driver\Statement;
use Doctrine\DBAL\Driver\StatementIterator; use Doctrine\DBAL\Driver\StatementIterator;
use Doctrine\DBAL\ParameterType; use Doctrine\DBAL\ParameterType;
use IteratorAggregate;
use PDO; use PDO;
use PDOStatement; use PDOStatement;
use Swoole\Database\PDOStatementProxy; use Swoole\Database\PDOStatementProxy;
class MySQLStatement implements Statement, \IteratorAggregate class MySQLStatement implements IteratorAggregate, Statement
{ {
/** @var PDOStatement|PDOStatementProxy */ /** @var PDOStatement|PDOStatementProxy */
private $statement; private $statement;