free some results in commondescription service
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@411 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
05defe72d8
commit
ef16c76ce6
1 changed files with 6 additions and 2 deletions
|
@ -56,6 +56,7 @@ class SemanticScuttle_Service_CommonDescription extends SemanticScuttle_DbServic
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($row =& $this->db->sql_fetchrow($dbresult)) {
|
if ($row =& $this->db->sql_fetchrow($dbresult)) {
|
||||||
|
$this->db->sql_freeresult($dbresult);
|
||||||
return $row;
|
return $row;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
@ -73,8 +74,9 @@ class SemanticScuttle_Service_CommonDescription extends SemanticScuttle_DbServic
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->db->sql_fetchrowset($dbresult);
|
$res = $this->db->sql_fetchrowset($dbresult);
|
||||||
|
$this->db->sql_freeresult($dbresult);
|
||||||
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDescriptionById($cdId) {
|
function getDescriptionById($cdId) {
|
||||||
|
@ -88,6 +90,7 @@ class SemanticScuttle_Service_CommonDescription extends SemanticScuttle_DbServic
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($row =& $this->db->sql_fetchrow($dbresult)) {
|
if ($row =& $this->db->sql_fetchrow($dbresult)) {
|
||||||
|
$this->db->sql_freeresult($dbresult);
|
||||||
return $row;
|
return $row;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
@ -127,6 +130,7 @@ class SemanticScuttle_Service_CommonDescription extends SemanticScuttle_DbServic
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($row =& $this->db->sql_fetchrow($dbresult)) {
|
if ($row =& $this->db->sql_fetchrow($dbresult)) {
|
||||||
|
$this->db->sql_freeresult($dbresult);
|
||||||
return $row;
|
return $row;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue