Bug Report #1294

The new Database library of 2.4 could be sped up using the new mysqli_fetch_all() function

Added by Samuel Vogel about 3 years ago. Updated almost 3 years ago.

Status:Closed Start date:
Priority:Normal Due date:
Assignee:John Heathco % Done:

0%

Category:Libraries:Database
Target version:2.4
Resolution:fixed Points:

Description

When you run PHP 5.3 with the new mysqlnd MySQL driver, there is a new function called mysqli_fetch_all() which gives you a whole result set as an array. This ought to be faster than building the array by hand.

I have altered the Mysql_Result class, to make use of this new function if it's available.

Database_Mysql_Result.patch (533 Bytes) Samuel Vogel, 04/24/2009 06:24 pm

History

Updated by John Heathco about 3 years ago

  • Status changed from New to Resolved
  • 1 set to 4271

Fixed in r4271

Updated by Jeremy Bush about 3 years ago

  • Status changed from Resolved to Closed
  • Resolution set to fixed

Updated by Samuel Vogel almost 3 years ago

This needs to be removed, since you can't use mysqli functions with a mysql resource. It expects MySQLi_Results!

Updated by Samuel Vogel almost 3 years ago

  • Status changed from Closed to Feedback

Updated by John Heathco almost 3 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF