mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-04 06:37:55 +08:00
Fixed the issue that query cache returns the same data for the same SQL but different query methods
This commit is contained in:
@ -378,6 +378,7 @@ class Command extends \yii\base\Component
|
||||
if (isset($cache) && $cache instanceof Cache) {
|
||||
$cacheKey = [
|
||||
__CLASS__,
|
||||
$method,
|
||||
$db->dsn,
|
||||
$db->username,
|
||||
$rawSql,
|
||||
|
||||
Reference in New Issue
Block a user