developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Closed 12 years ago

#578 closed enhancement (fixed)

mysql driver could return native objects

Reported by: laurentj Owned by: laurentj
Priority: normal Milestone: Jelix 1.1 beta 1
Component: jelix:db Version: 1.0.3
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

It seems that mysql_fetch_object accepts a class name as the second parameter. The mysql driver could use it to have performance improvements. Verify first that it is really ok in PHP 5.0, PHP 5.1 and PHP 5.2.

Change History (6)

comment:1 Changed 12 years ago by laurentj

  • Milestone changed from Jelix 1.0.4 to Jelix 1.1 beta 1

comment:2 Changed 12 years ago by laurentj

  • Owner set to laurentj
  • Status changed from new to assigned

I test it and it works at least since php 5.1, and the documentation says since php 5.0.

comment:3 Changed 12 years ago by bballizlife

And Jelix claims it needs php5.2 at least (Jelix requirements), so everything is ok for this, no ?

comment:4 Changed 12 years ago by laurentj

  • Milestone Jelix 1.1 beta 1 deleted

comment:5 Changed 12 years ago by laurentj

  • Milestone set to Jelix 1.1 beta 2

comment:6 Changed 12 years ago by laurentj

  • Milestone changed from Jelix 1.1 beta 2 to Jelix 1.1 beta 1
  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in the trunk.

Note: See TracTickets for help on using tickets.