ZF-5263: fetchCol() and limit() with Oracle


Method limit() of Oracle add an extra field "zend_db_rownum". This field is positioned at the beginning of the result.

In case of using fetchCol(), we return the value of "zend_db_rownum" instead of the desired field.

We can reverse in Zend_Db_Adapter_Oracle::limit():

SELECT ROWNUM AS zend_db_rownum, z1.*

should be

SELECT z1.*, ROWNUM AS zend_db_rownum


Fixed with SVN13754

Also fixed for Pdo_Oci with SVN13757