File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 1.2.1 under development
4
4
5
- - Bug #777 : Fix ` Query::count() ` when it returns an incorrect value if the result is greater
6
- than ` PHP_INT_MAX ` (@Tigrov )
5
+ - Bug #777 : Fix ` Query::count() ` when it returns an incorrect value if the result is greater than ` PHP_INT_MAX ` ( @ Tigrov )
6
+ - Enh # 778 : Deprecate unnecessary argument ` $rawSql ` of ` AbstractCommand::internalExecute() ` (@Tigrov )
7
7
8
8
## 1.2.0 November 12, 2023
9
9
Original file line number Diff line number Diff line change @@ -548,7 +548,7 @@ abstract protected function internalGetQueryResult(int $queryMode): mixed;
548
548
/**
549
549
* Executes a prepared statement.
550
550
*
551
- * @param string|null $rawSql The rawSql if it has been created .
551
+ * @param string|null $rawSql Deprecated. Use `null` value. Will be removed in version 2.0.0 .
552
552
*
553
553
* @throws Exception
554
554
* @throws Throwable
@@ -581,7 +581,7 @@ protected function queryInternal(int $queryMode): mixed
581
581
$ isReadMode = $ this ->isReadMode ($ queryMode );
582
582
$ this ->prepare ($ isReadMode );
583
583
584
- $ this ->internalExecute ($ this -> getRawSql () );
584
+ $ this ->internalExecute (null );
585
585
586
586
/** @psalm-var mixed $result */
587
587
$ result = $ this ->internalGetQueryResult ($ queryMode );
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ protected function getQueryMode(int $queryMode): string
186
186
*
187
187
* It's a wrapper around {@see PDOStatement::execute()} to support transactions and retry handlers.
188
188
*
189
- * @param string|null $rawSql The rawSql if it has been created .
189
+ * @param string|null $rawSql Deprecated. Use `null` value. Will be removed in version 2.0.0 .
190
190
*
191
191
* @throws Exception
192
192
* @throws Throwable
You can’t perform that action at this time.
0 commit comments