num_rows in pear db

From: Date: Thu, 11 Mar 2004 23:37:12 +0000
Subject: num_rows in pear db
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11244@lists.php.net to get a copy of this message
I have global $db object, for some reason the db->num_rows object doesnt reset with each query and it is storing $num_rows for each query and my program is dumping core because this object is too large: [db] => db_mysql Object
        (
            [connection] => Resource id #29
            [phptype] => mysql
            [dbsyntax] => mysql
            [prepare_tokens] => Array
                (
                )
            [prepare_types] => Array
                (
                )
            [num_rows] => Array
                (
                    [33] => 3
                    [35] => 1
                    [36] => 1
                    [41] => 0
                    [42] => 0
                    [43] => 1
                    [44] => 1
                       ..
                    [476162] => 1
How do I reset this $db object num_rows?

« previous php.pear.general (#11244) next »