Ticket #839 (closed defect: fixed)

Opened 16 months ago

Last modified 16 months ago

Informix error with limit clause

Reported by: griotteau Owned by: somebody
Priority: major Milestone: 0.10.4
Component: Other Version: 0.10.0
Severity: Keywords: Informix
Cc: Has Test:
Status: Has Patch:

Description

Whatever the query, I have this error : Fatal error: Call to undefined method Doctrine_Connection_Informix::modifyLimitQuery() in (...)/plugins/sfDoctrinePlugin/lib/doctrine/Doctrine/Query.php on line 1227

If i add this in Connection/Informix.php :

public function modifyLimitQuery($query) {

return $query;

}

the error disappear (i don't know how Informix can deal with LIMIT ...)

Change History

Changed 16 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [4037]) fixes #839

Changed 16 months ago by griotteau

  • status changed from closed to reopened
  • resolution fixed deleted

This patch failed ... All informix query are empty !

If i add :

return $query;

in the modifyLimitQuery method it's ok

Changed 16 months ago by jwage

  • status changed from reopened to closed
  • resolution set to fixed

(In [4061]) fixes #839 again :) whoops

Note: See TracTickets for help on using tickets.