Re: replacing dbm_* with dba_*
| From: | Rasmus Lerdorf | Date: | Sun, 20 Jun 1999 16:04:21 +0000 |
| Subject: | Re: replacing dbm_* with dba_* | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-7231@lists.php.net to get a copy of this message | ||
> Or look at this little art work in dba_db2.c:
>
> #if (DB_VERSION_MAJOR > 2) || (DB_VERSION_MAJOR == 2 &&
> DB_VERSION_MINOR > 6) || (DB_VERSION_MAJOR == 2 &&
> DB_VERSION_MINOR == 6 && DB_VERSION_PATCH >= 4)
> if(dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0)) {
> #else
> if(dba->dbp->cursor(dba->dbp, NULL, &dba->cursor)) {
> #endif
>
> They changed their interface during _minor_ releases :-(
How nice of them. That is always appreciated. We need to convince others
to do the same just to keep us on our toes.
-Rasmus