mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 11:39:41 +08:00
Fixes #6271: Query caching returns the same data when running the same SQL with different fetch modes
This commit is contained in:
committed by
Qiang Xue
parent
2a0797dd23
commit
25a7c84ef2
@ -799,6 +799,7 @@ class Command extends Component
|
||||
$cacheKey = [
|
||||
__CLASS__,
|
||||
$method,
|
||||
$fetchMode,
|
||||
$this->db->dsn,
|
||||
$this->db->username,
|
||||
$rawSql,
|
||||
|
||||
Reference in New Issue
Block a user