Changeset 5316

Show
Ignore:
Timestamp:
12/19/08 00:24:28 (7 months ago)
Author:
jwage
Message:

[1.0, 1.1] Fixes regression in resultset cache (closes #1768) and (addresses #1636 again)

Location:
branches
Files:
2 added
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Query/Abstract.php

    r5307 r5316  
    935935    { 
    936936        $dql = $this->getDql(); 
     937        $params = $this->getParams($params); 
    937938        $conn = $this->getConnection(); 
    938939        $hash = md5($conn->getName() . $conn->getOption('dsn') . $dql . var_export($params, true)); 
  • branches/1.1/lib/Doctrine/Query/Abstract.php

    r5307 r5316  
    997997    { 
    998998        $dql = $this->getDql(); 
     999        $params = $this->getParams($params); 
    9991000        $conn = $this->getConnection(); 
    10001001        $hash = md5($conn->getName() . $conn->getOption('dsn') . $dql . var_export($params, true)); 
     
    10731074 
    10741075        $stmt = $this->_conn->execute($query, $params); 
     1076 
     1077        $this->_params['exec'] = array(); 
    10751078 
    10761079        return $stmt;