Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 uid=99(nobody) gid=98(nobody) groups=98(nobody) Safe-mode: OFF (not secure) /usr/doc/db-3.3.11/ref/upgrade.3.0/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
Release 3.0: the DbEnv class for C++ and JavaThe DbEnv::appinit() method and two constructors for the DbEnv class are gone. There is now a single way to create and initialize the environment. The way to create an environment is to use the new DbEnv constructor with one argument. After this call, the DbEnv can be configured with various set_XXX methods. Finally, a call to DbEnv::open is made to initialize the environment. Here's a C++ example creating a Berkeley DB environment using the 2.X interface int dberr; DbEnv *dbenv = new DbEnv(); In the Berkeley DB 3.0 release, this code would be written as: int dberr; DbEnv *dbenv = new DbEnv(0); Here's a Java example creating a Berkeley DB environment using the 2.X interface: int dberr; DbEnv dbenv = new DbEnv(); In the Berkeley DB 3.0 release, this code would be written as: int dberr; DbEnv dbenv = new DbEnv(0); In the Berkeley DB 2.X release, DbEnv had accessors to obtain "managers" of type DbTxnMgr, DbMpool, DbLog, DbTxnMgr. If you used any of these managers, all their methods are now found directly in the DbEnv class.
|
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0291 ]-- |