Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/db4-devel-4.3.27/ref/upgrade.4.0/ drwxr-xr-x |
Viewing file: Select action/file-type:
Release 4.0: log_XXXThe C API for the Berkeley DB Logging subsystem was reworked in the 4.0 release as follows:
Applications calling any of these functions should update their calls to use the enclosing DB_ENV handle's method (in all cases other than the log_get call, this is easily done as the first argument to the existing call is the correct handle to use). Application calls to the historic log_get function must be replaced with the creation of a log file cursor (a DB_LOGC object), using the DB_ENV->log_cursor method, calls to the DB_LOGC->get method to retrieve log records and calls to the DB_LOGC->close method to destroy the cursor. It may also be possible to simplify some applications. In previous releases of Berkeley DB, the DB_CURRENT, DB_NEXT, and DB_PREV flags to the log_get function could not be used by a free-threaded DB_ENV handle. If their DB_ENV handle was free-threaded, applications had to create an additional, unique environment handle by separately calling DB_ENV->open without specifying DB_THREAD. This is no longer an issue in the log cursor interface, and applications may be able to remove the now unnecessary creation of the additional DB_ENV object. Finally, the DB_ENV->log_stat call has been changed in the 4.0 release to take a flags argument. To leave their historic behavior unchanged, applications should add a final argument of 0 to any calls made to DB_ENV->log_stat.
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved. |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0032 ]-- |