RE: Re-using query result identifiers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does anyone know anything about this?

-----Original Message-----
From: Jordan [mailto:Jordan@xxxxxxxxxxx]
Sent: Thursday, November 13, 2003 4:58 PM
To: 'php-db@xxxxxxxxxxxxx'
Subject:  Re-using query result identifiers?



Does re-using a link identifier name free the resources used by the previous
one?
Consider this code:

$result = mysql_result($query1);
$result = mysql_result($query2);

Is the memory used by $query1's results freed/overwritten by $query2's
results?
Even further, does calling mysql_free_results as below accomplish anything,
or is it a waste?

$result = mysql_result($query1);
mysql_free_results($result);
$result = mysql_result($query2);

Love,
Tom Yeeto Web Lackey
http://www.tumyeto.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux