Changeset 1986

Show
Ignore:
Timestamp:
04/18/08 17:25:58 (22 months ago)
Author:
takayama
Message:

Fixed BugId:79396
* Keep parent query's result resource

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-35/php/lib/mtdb_base.php

    r1985 r1986  
    28442844 
    28452845    function get_results($query = null, $output = ARRAY_A) { 
     2846        $old_result = $this->result; 
    28462847        $rows = parent::get_results($query, $output); 
    28472848        if (is_array($rows)) { 
    28482849            $rows = array_map(array($this,"convert_fieldname"), $rows); 
    28492850        } 
    2850         return $this->expand_meta($rows); 
     2851        $result = $this->expand_meta($rows); 
     2852        $this->result = $old_result; 
     2853        return $result; 
    28512854    } 
    28522855