Changeset 21371


Ignore:
Timestamp:
2011/12/24 11:04:17 (10 years ago)
Author:
Seasoft
Message:

#1581 (SC_Query の一部メソッドで prepared query を開放せずメモリリーク)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/SC_Query.php

    r21284 r21371  
    270270        } 
    271271 
     272        $sth->free(); 
    272273        return $affected->fetchAll($fetchmode); 
    273274    } 
     
    609610        } 
    610611 
     612        $sth->free(); 
    611613        return $affected->fetchOne(); 
    612614    } 
     
    637639        } 
    638640 
     641        $sth->free(); 
    639642        return $affected->fetchRow($fetchmode); 
    640643    } 
     
    663666        } 
    664667 
     668        $sth->free(); 
    665669        return $affected->fetchCol(); 
    666670    } 
Note: See TracChangeset for help on using the changeset viewer.