Re: [ANNOUNCEMENT] DB-1.6.0 (stable) Released.
| From: | James 'Chip' Kaufman | Date: | Thu, 19 Feb 2004 22:32:30 +0000 |
| Subject: | Re: [ANNOUNCEMENT] DB-1.6.0 (stable) Released. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10806@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 19 February 2004 16:03, PEAR Announce wrote:
> The new PEAR package DB-1.6.0 (stable) has been released at
> http://pear.php.net/.
>
> Release notes
> -------------
> BUGS FIXED:
>
> - ifx:
> fetchRow() now adds 1 to the requested $rownum
> because ifx_fetch_row() starts at 1. (peterwb)
>
This is nice, but it will break applications that expected the other
behaviour. Is there a way for the code to determine which version of DB
is running, and if DB version >= 1.6.0 do something different?
My code currently handles the fetchRow issue. It could be deployed on
machines running DB 1.5 or now 1.6. It works on 1.5, but will break as
soon as DB gets upgraded. How can I determine at run-time which version
is running so I can handle this gracefully?
- --
James 'Chip' Kaufman
jkaufman@wamnetgov.com
952-346-3532
PGP key: 697D43DE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFANTl/rlGDUWl9Q94RAnsZAJwPh4j3psEnU09MhXbGgn/ECxKHCgCgvp3A
saLeOakCuQQMiIfIBqZFGu4=
=P1Rl
-----END PGP SIGNATURE-----