Обсуждение: snapshot - src: Since oracle does return '0' for rowcount, even when

Поиск
Список
Период
Сортировка

snapshot - src: Since oracle does return '0' for rowcount, even when

От
cunha17@pgfoundry.org (User Cunha17)
Дата:
Log Message:
-----------
Since oracle does return '0' for rowcount, even when there is more than zero rows returned, it broke the code.
Now there is a workaround based only on fetchrow_array behaviour (returning undef or error when there is no more
recordsto retrieve) and the count of records retrieved with the current fetch. 

Modified Files:
--------------
    src/pl:
        performCompleteRefresh.pl (r1.7 -> r1.8)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/performCompleteRefresh.pl.diff?r1=1.7&r2=1.8)
    src/pl/db/oracle:
        cursor.pl (r1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/snapshot/src/pl/db/oracle/cursor.pl.diff?r1=1.1&r2=1.2)