ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/BDB/README
(Generate patch)

Comparing BDB/README (file contents):
Revision 1.11 by root, Thu Jul 17 12:09:56 2008 UTC vs.
Revision 1.12 by root, Tue Jul 29 03:33:16 2008 UTC

493 VERSION CHECKING 493 VERSION CHECKING
494 BerkeleyDB comes in various versions, many of them have minor 494 BerkeleyDB comes in various versions, many of them have minor
495 incompatibilities. This means that traditional "at least version x.x" 495 incompatibilities. This means that traditional "at least version x.x"
496 checks are often not sufficient. 496 checks are often not sufficient.
497 497
498 Example: set the log_autoremove option in a way compatible with <v.47 498 Example: set the log_autoremove option in a way compatible with <v4.7
499 and v4.7. Note the use of & on the constants to avoid triggering a 499 and v4.7. Note the use of & on the constants to avoid triggering a
500 compiletime bug when the symbol isn't available. 500 compiletime bug when the symbol isn't available.
501 501
502 $DB_ENV->set_flags (&BDB::LOG_AUTOREMOVE ) if BDB::VERSION v0, v4.7; 502 $DB_ENV->set_flags (&BDB::LOG_AUTOREMOVE ) if BDB::VERSION v0, v4.7;
503 $DB_ENV->log_set_config (&BDB::LOG_AUTO_REMOVE) if BDB::VERSION v4.7; 503 $DB_ENV->log_set_config (&BDB::LOG_AUTO_REMOVE) if BDB::VERSION v4.7;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines