Open
Description
the current query classes do not implement a way to do a 'free_result' or a 'next_result' call in order to be able to free up resources, or to grab the next result in a multi-result set (such as when calling a stored procedure, only applies to the mysqli driver).
my temp solution:
in Mysqli\Statement...
public function freeResult(){
do{
mysqli_next_result($this->_link);
}while(mysqli_more_results($this->_link));
mysqli_free_result($this->_result);
}
public function nextResult(){
if(mysqli_more_results($this->_link)){
mysqli_free_result($this->_result);
mysqli_next_result($this->_link);
$this->_result=mysqli_store_result($this->_link);
}
}
Metadata
Metadata
Assignees
Labels
No labels