#5730: dbo_odbc calling incorrect function in lastNumRows(...)
-----------------------------------------------------+----------------------
Reporter: lecterror | Type: Bug
Status: new | Priority: High
Milestone: 1.2.x.x | Component: ODBC
Version: RC3 | Severity: Major
Keywords: odbc datasource rowcount lastnumrows | Php_version: n/a
Cake_version: |
-----------------------------------------------------+----------------------
It seems like lastNumRows
([https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/model/datasources/dbo/dbo_odbc.php#L320
problem line]) is using odbc_fetch_into() which returns an array of result
'''columns''', and it probably should be using odbc_num_rows() instead.
This severely cripples the ODBC data source..
--
Ticket URL: <https://trac.cakephp.org/ticket/5730>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---