php-firebird icon indicating copy to clipboard operation
php-firebird copied to clipboard

#if abies_0 - remove?

Open mlazdans opened this issue 4 months ago • 1 comments

There are some #if abies_0 in the code. It seems someone tried to implement ibase_num_rows() which will not work as intended and I do not see this would change in Firebird anytime soon.

One alway can slap this to their select:

SELECT field, COUNT(*) OVER () AS TOTAL_COUNT FROM ...

I vote to remove that code altogether.

mlazdans avatar Oct 16 '25 12:10 mlazdans

I vote also to delete it. For number of rows affected by INSERT, UPDATE or DELETE we have ibase_affected_rows().

MartinKoeditz avatar Oct 17 '25 12:10 MartinKoeditz