summaryrefslogtreecommitdiff
path: root/databases/db5/patches
AgeCommit message (Collapse)AuthorFilesLines
2016-08-26Defining a store macro and using <atomic> are mutally conflicting. Sojoerg1-0/+14
avoid the former for C++.
2016-08-26revert configure patch update as the issue is related to ARM 64-bit supportrichard1-2/+2
db6 has it, but apparently db5 hasn't specificially backported support yet. probably best to use db6 or try db4 until backporting is tested.
2016-08-25Modify conditions of a previous patch to setup.py which fixesrichard1-2/+2
build on aarch64 Linux Also add '--enable-dbm' to CONFIGURE_ARGS (legacy dbm interface) in order to be compatible with db4 builds which happens to fix obscure build errors on aarch64 Linux with packages such as python27. bump PKGREVISION to pick up change
2015-09-08Avoid overlap between db's atomic.h and stdatomic.h.joerg6-2/+121
2014-04-22FreeBSD 10 is not FreeBSD 1.asau2-2/+96
2012-05-31Changes 5.3.21:adam1-0/+24
* Fixed incompatibility problems of Java DPL with JDK7, so DPL will now work with JDK7. * Added a flag to allow database locking to be disabled from the SQL API. * Fixed a bug that could allocate a heap data page in a region after the region creation has been undone. * Redundant whitespaces are now ignored in DB_CONFIG lines pertaining to directories, e.g. set_data_dir. * Fixed a bug that caused DB_ENV->backup to stop early if DB_BACKUP_FILES was not set and a non-DB file was in the data directory. * Fixed a rare race condition that could cause a crash if two processes opened the same database at the same time. * Fixed missing cross compiling capability for the JDBC driver. * Allow the same system/machine to host both a master and a replica database through the use of relative pathnames. * Fixed a bug in the Java API where EnvironmentConfig.setCreateDir would fail to configure the environment. * Fixed an assert failure in btreeCompare when allocating memory in the wrong thread was causing a memory leak. * Fixed a bug in the Java API where concurrent operations that change the database schema could lead to a hang. * Added JDBC code to the code base and updated the windows build files to include the JDBC solution. * Fixed a bug where the heap's region size was not getting swapped correctly in mixed-endian environments. * Fixed a bug in the db_sql_jdbc project file for vs2010 that was preventing it from building correctly.
2012-01-18Changes 5.3.15:adam2-26/+26
* Added support for verifying named in-memory dbs. * Added an integer key comparison function to improve performance through the SQL API. * Support build on the platforms where pthread_t is a struct. * Added an API call so the user can specify the size of the region in a heap db. * Improved Replication Manager's ability to recover from the (perhaps rare) phenomenon of two sites trying to connect to each other simultaneously, which used to result in loss of both connections, requiring a retry after the CONNECTION_RETRY timeout period. * Enhanced the interface for copying databases for a hot backup. Added configure support for --enable-atomicfileread. * Enhaced the log reading routine to detect that a log file is missing rather than returning that a zero length record was found. * Added pragma bdbsql_shared_resources to set or report the maximum amount of memory to be used by shared structures in the main environment region and bdbsql_lock_tablesize to set or report the number of buckets in the lock object hash table. These are advanced tuning features for applications with large number of tables or needs to reduce locking on concurrent long running transactions. * Added set_metadata_dir() and get_metadata_dir() to enable storage of persistent metadata files in a location other than the environment home directory. * Improved the error handling through the SQL API. Errors can be sent to a file with the use of the BDBSQL_ERROR_FILE pragma. * Database handles can now be configured to give exclusive access to the database. * XA transactions will now use transaction snapshots if the XA databases they operate on were configured with DB_MULTIVERSION. * Added additional stats fields into the C# API * Added pragma bdbsql_single_process to keep the Berkeley DB environment information on the heap instead of in shared memory. This option cannot be used if the database is accessed from multiple processes. * Improved the ability of DB->compact to move DB_HASH database pages to the begining of the file.
2011-10-03Changes 5.2.36:adam2-20/+20
* Updated the JDBC version shipped with Berkeley DB to support Oracle Java Embedded Client. * Fixed several memory leaks in the Online Backup API. * Fix a bug in the SQL API when using a blob field with a lot of content and multiple concurrent connections to the database. * Update EID_MASTER to be public static final so that it will be exposed in Java docs. * Fixed a bug where BFile module crashes when using BFile handle for SQL expressions interface on 64 bit platforms. * Fixed a bug where, on systems without FTRUNCATE, db_verify will return an error for truncated heap databases. * Let ADO.NET solution building skip SQLite Designer and Linq by default. * Fixed a bug that could cause BDB to run out of avaliable mutexes when renaming many databases. * Fixed a bug where the metadata page in hash databases would not be flushed to disk. * Fixed a bug where printlog would fail on in-memory heap databases. * Fixed a bug that would cause verify to call the wrong compare function if there are user defined compare functions used and the database has multilevel off page sorted duplicate trees. * Fixed a bug where two processes accessing the same table and one of those drops the table and recreates, the second process can crash. * Fixed a bug where it was possible to panic a heap database without an error message being printed. * Fixed a bug where it would fail to put records with overflow keys into hash duplicate database. * Fixed a bug where multiple Replication Manager processes would sometimes not all conform to replication-group-aware log archiving. * more...
2010-09-16Changes 5.1.19:adam3-36/+35
* Added Performance event monitoring support for DTrace and SystemTap which can be enabled during configuration. Static probes have been defined where statistics values are updated, where mutex or transactional consistency lock waits occur, and where some other potentially lengthy operations may be initiated. * Added a new acknowledge policy - DB_REPMGR_ACKS_ALL_AVAILABLE. * Added transactional bulk loading optimization for non-nested transactions. * Added exclusive transaction support for the SQL API. * Added support for bulk update and delete in C# API. * Added a db_replicate utility. * Added an implementation of the Online Backup API. * Added support in Berkeley DB SQL for the vacuum and incremental vacuum pragmas. * Added an option to automatically convert SQLite databases to Berkeley DB on opening. * Added BDBSQL_SHARE_PRIVATE, an option to enable inter-process sharing of DB_PRIVATE environments using multiple-reader. * Added database-level locking to optimize single-threaded operations and remove locking limitations for database load operations. * Added support for DB_INIT_REP, DB_PRIVATE, DB_REGISTER and DB_THREAD in DB_CONFIG file. * Added support for the BDBSQL_DEFAULT_PAGE_SIZE pragma to override Berkeley DB's choice of page size depending on the filesystem. Use SQLITE_DEFAULT_PAGE_SIZE rather than a hard-coded default. * Added an extension that allows access to binary files stored outside of the database. What is stored in the database is a pointer to the binary file. * Added .stat command to dbsql shell to print environment, table, and index statistics. * Added enhancements to reduce the size of indexes in the SQL API by allowing duplicates in the index database and moving the rowid from the index key into the index data. * Added a compile time flag BDBSQL_FILE_PER_TABLE that causes each table to be created in a separate file. This flag replaces the BDBSQL_SPLIT_META_TABLE flag. * Added the handling of read only and read write open of the same database in BDB SQL. * Added an encryption implementation to the SQL API.pkg
2010-06-02Berkeley DB is an embeddable database system that supports keyed access toadam3-0/+255
data. The software is distributed in source code form, and developers can compile and link the source code into a single library for inclusion directly in their applications. Developers may choose to store data in any of several different storage structures to satisfy the requirements of a particular application. In database terminology, these storage structures and the code that operates on them are called access methods. The library includes support for the following access methods: * B+tree: Stores keys in sorted order, using either a programmer-supplied ordering function or a default function that does lexicographical ordering of keys. Applications may perform equality or range searches. * Hashing: Stores records in a hash table for fast searches based on strict equality. Extended Linear Hashing modifies the hash function used by the table as new records are inserted, in order to keep buckets underfull in the steady state. * Fixed and Variable-Length Records: Stores fixed- or variable-length records in sequential order. Record numbers may be immutable or mutable, i.e., permitting new records to be inserted between existing records or requiring that new records be added only at the end of the database.