Up to [cvs.NetBSD.org] / pkgsrc / databases / libzdb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libzdb: update to 3.5.0 Version 3.5.0 Added numeric DB error codes and SQLSTATE support (PostgreSQL). Blocks MySQL proxies by default due to protocol issues. Oracle cleanup; supports 18c+, fixes transaction bugs. More reliable MySQL/PostgreSQL ping and reconnect behavior. Fixed multi-threaded pool memory and locking issues. Version 3.4.1 ConnectionPool can report database type. Optional SQLite shared cache for better concurrency. SSL/TLS options added to MySQL and PostgreSQL URLs. Removed SQLite heap_limit URL parameter. Version 3.4.0 Configurable transaction isolation on begin. New valueOr macro for safer return handling. SQLite multi-thread mode enabled by default. More efficient prepared statement string binding. Minor SQLite and C++ fixes. Version 3.3.0 Pool reaper thread enabled by default. New C++ API (C++20, breaking change). Added pool capacity check (ConnectionPool_isFull). Improved pool concurrency and stability.
Update databases/libzdb to version 3.2.3. Pkgsrc changes: * More patching of isxxxx() uses to u_char. Upstream changes: Version 3.2.3 ------------- * New: Provide better error reporting if a Connection cannot be obtained from the Connection Pool by introducing the method ConnectionPool_getConnectionOrException(). In C++ the exception thrown now contains the actual cause instead of a generic error. * Fix: In C++ guard against stopping the Connection Pool with active Connections. I.e. all Connections should be returned to the pool before explicitly attempting to stop the pool. This is due to how C++ destructors are called at scope end; if there is a reference to a live Connection object after the pool is stopped it might cause a dealloc sequence problem. * Fix: Issue #50 where unit test 5 could fail for MariaDB because mysql_stmt_affected_rows() only returns actual affected rows, not matched rows which MySQL does. * Fix: plus other minor improvements and fixes
databases/libzdb: fix 4 uses of isxxx() by casting arg to u_char.
databases/libzdb: fix one more test's time_t print issue on NetBSD.
databases/libzdb: update checksums, ride previous commit.
databases/libzdb: make this build on 32-bit NetBSD hosts. Add two patches: * Avoid c++ overload conflict between `time_t` and `long long` * Fix a print of `time_t` in tests/unit.c. It seems evaldo@gardenali.biz was swallowed by Google 10+ years ago (domain gardenali.biz no longer exists), so I took the liberty of reverting that to pkgsrc-users@NetBSD.org. Bump PKGREVISION.
databases: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (some may be only fetched conditionally): ./databases/cstore/distinfo D6.data.ros.gz ./databases/cstore/distinfo cstore0.2.tar.gz ./databases/cstore/distinfo data4.tar.gz
databases: Remove SHA1 distfile hashes
libzdb: update to 3.2.2
Version 3.2.2 Released on 1 April 2020
Fixed: Removed Thread.h from the public API.
Version 3.2.1 Released on 6 March 2020
New: Include Library version number in zdb.h
Fixed: Simplified test/zdbpp.cpp and added missing header
Fixed: Improved support for MySQL 8 and MariaDB
Version 3.2 Released on 3 Apr 2019
New: C++17 support via zdbpp.h which is distributed with libzdb for more
idiomatic use of libzdb from C++.
New: Support prefetch rows for MySQL and Oracle. Either programatically
via Connection_setFetchSize() or via ResultSet_setFetchSize() or
via a new global fetch-size URL option.
New: MySQL 5.7 and later. Added session query timeout accessible via
Connection_setQueryTimeout()
New: MySQL 8. Added a new URL option auth-plugin which specify the
authentication plugin to use when connecting to a MySQL server.
New: Oracle: Added a new URL option sysdba for connecting with
sysdba privileges.
Fixed: Revert previous fix (#8) and remove last SQL terminator character ';'
in statements, except if preceded with END; to allow for ending a
pl/sql block.
Fixed: Oracle: Set SQL null value in prepared statement
Fixed: Oracle: Handle date/time literal values
Add SHA512 digests for distfiles for databases category Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Update to libzdb-3.1 (2015-08-31) New: Support Literal IPv6 Addresses in the Database Connection URL. Ref. RFC2732 New: Honour timezone information if provided with date-time column values in Result Sets Fixed: Issue #7 Removed onstop handler Fixed: #8 Do not remove trailing SQL termination charachter ';' from statement
Import libzdb-3.0 as databases/libzdb. Packaged for wip by udontknow and tnn. The Zild Database Library implements a small, fast, and easy to use database API with thread-safe connection pooling. The library can connect transparently to multiple database systems, has zero configuration and connections are specified via a standard URL scheme.