phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [Bug #2879] mysql_free_result() raises warnings i


From: nobody
Subject: [Phpgroupware-tracker] [Bug #2879] mysql_free_result() raises warnings in class.db_mysql.inc.php, in db::free()
Date: Thu, 20 Mar 2003 02:27:45 -0500

=================== BUG #2879: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2879&group_id=509

Submitted by: davidpbrady             Project: phpGroupWare                 
Submitted on: Thu 03/20/03 at 07:27
Category:  API - phpGWapi             Bug Group:  None                      
Severity:  5 - Major                  Priority:  None                       
Resolution:  None                     Assigned to:  None                    
Status:  Open                         Component Version:  None              
Platform Version:  Linux - RedHat     Reproducibility:  None                

Summary:  mysql_free_result() raises warnings in class.db_mysql.inc.php, in 
db::free()

Original Submission:  In class.db_mysql.inc.php, in class db, function free(), 
the following line of code raises tons of warnings:

@mysql_free_result($this->Query_ID);

Because of the @, the warnings are suppressed, but warning-catcher tools (such 
as phpunit) will log the failure.  Removing the @ produces a TON of warning 
messages:

Warning: mysql_free_result(): 6 is not a valid MySQL result resource in 
/usr/local/apache/htdocs/phpgroupware/phpgwapi/inc/class.db_mysql.inc.php on 
line 172

The result resource number changes, but the number of warnings is staggering.  
This indicates that the results are not being freed when we expect them 
to--they are either already freed, or we've mislabeled them and they aren't 
getting freed until PHP finishes the entire script. 

This may be related to bug #1192, "MYSQL raise 50% CPU and httpd 45% when 
asking 2000 tickets"



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2879&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]