NOTICE: This package has been removed from pkgsrc

./wip/libzdb, Zild Database Library, a fast thread-safe connection pooling library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 3.0, Package name: libzdb-3.0, Maintainer: evaldo

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


Required to run:
[databases/mysql55-client] [databases/postgresql91-client]


Package options: mysql, pgsql, sqlite, ssl

Master sites:

SHA1: bcf14c11cfcd0c05ecc8740f43cd0d6170406dc1
RMD160: 951c2db724f17c54f951d0afb7866496d3654e8a
Filesize: 683.871 KB

Version history: (Expand)


CVS history: (Expand)


   2015-09-12 17:07:28 by Tobias Nygren | Files touched by this commit (19) | Package removed
Log message:
g/c done packages
   2014-04-13 16:23:12 by Tobias Nygren | Files touched by this commit (2)
Log message:
libzdb-3.0 Released on 06 Jan 2014
New: Methods for retrieving Date, Time, DateTime and TimeStamp column values
  from a ResultSet. PreparedStatement_setTimestamp for setting Unix timestamp.
New: ResultSet_isnull, can be used to explicit test if a column value in a
  Result Set is SQL null. A Result Set already returns the NULL pointer for
  string and blob types and 0 for primitive data types if column value is SQL
  null, but to differ between SQL null and the value NULL or 0, this method
  can be used.
New: PreparedStatement_getParameterCount, Returns the number of parameters in
  a prepared statement
New: It is now a checked runtime error for the url parameter given in
  ConnectionPool_new to be NULL.
New: No longer require flex installed as the generated file is part of the
  distribution.
Fixed: Oracle: memory corruption in OracleResultSet when a Blob value is
  retrieved as a String
   2013-09-06 16:48:04 by Tobias Nygren | Files touched by this commit (2)
Log message:
Version 2.12
--------------
* New: PreparedStatement_rowsChanged added to PreparedStatement.h
* Fixes: Oracle: OCIPing is used to check oracle connection and
  ensure that the Pool returns connected connections. Thanks to
  Pavlo Lavrenenko.

Version 2.11.3
--------------
* New: License exception added to allow for linking and
  distributing this Software together with OpenSSL.

Version 2.11.2
--------------
* New: Throw SQLException if a database access error occurs
  when ResultSet_next() is called. Previously, access errors
  could be masked as end of result set. Thanks to JiaQiang Xu.
* Fixes: Possible mem leak in Oracle's blob operation fixed
  (Volodymyr Tarasenko)
   2013-03-03 18:28:16 by Tobias Nygren | Files touched by this commit (1)
Log message:
Use pkg-build-options to pull in link dependencies in bl3.mk
   2013-03-03 18:17:13 by Tobias Nygren | Files touched by this commit (2)
Log message:
Fix build w/ all options.
   2013-03-02 16:17:34 by Tobias Nygren | Files touched by this commit (1) | Package updated
Log message:
Make the database options group default to something (mysql) rather
than erroring out so the package will generate binaries in a bulk build.
(opted for mysql here since this package will be required by
mail/dbmail when it's updated to 3.x, and dbmail selects mysql by default)
   2013-03-02 14:22:43 by Tobias Nygren | Files touched by this commit (4)
Log message:
Update to libzdb-2.11.1.

Version 2.11.1
--------------
* Fixes: MySQL: Fixed a ResultSet bind memory error which could occur
  if string or blob columns of different size caused successive buffer
  reallocation. Thanks to Ryan Addams for discovering the problem.

Version 2.11
------------
* New: Added support for the new bytea hex encoding format
  introduced in PostgreSQL 9.0.
* Fixes: MySQL: A table with two or more columns larger than 256
  bytes would cause libzdb to truncate the second column to 256 
  bytes in the first row. Thanks to Me from China for bug report
  and patch.
* Fixes: Using configure flags --with-xxx without arguments
  now works as expected. Thanks to Johan Bergström for report

Version 2.10.6
--------------
* New: ConnectionPool_start() now throws an SQLException instead
  of calling ABORT if starting the pool failed. Thanks to
  Christopher O'Hara for suggestion.
* Fixes: MySQL: Using a stored procedure which returned a
  result set would freeze the connection until it was reaped.
  Thanks to Jesse White for patch.
* Fixes: Ensure that the library can be restarted after it was 
  stopped without leaking resources. Only applicable for MySQL
  which could leak memory on runtime restart. Thanks to Axel 
  Steiner for initial patch and suggestion.

Version 2.10.5
--------------
* New: Automatically unescape the following URL components:
  credentials, path and parameter values.

Version 2.10.4
--------------
* MySQL: Improved error reporting for select and prepared statements

Version 2.10.3
--------------
Bug fixes: Oracle: fixed a compile issue for GCC when strict
C99 is used. Thanks to Stas Oginsky.

Version 2.10.2
--------------
Bug fixes: Oracle: fixed a parameter sequence bug at
connection. Bug was introduced in 2.9. Thanks to l00106600.

Version 2.10.1
--------------
* A zdb.pc library package config file was added. Thanks to 
  Matthieu Verbert
* Build, configure and minor code improvements

Version 2.10
------------
* Libzdb is now compatible with and can be included in C++ or 
  Objective-C(++) projects.
* Internal optimising changes and improvements

Version 2.9
-----------
* SQLite: Unescape path to allow for (white-)space in database file
  path. Thanks to Jonas Schnelli
* SQLite: Use sqlite3_open_v2 instead of sqlite3_enable_shared_cache 
  which is deprecated in OS X Lion. 
* Oracle: Fixed a problem with ResultSet not returning all data

Version 2.8.1
-------------
* Oracle: Fixed a transaction related memory leak
              
Version 2.8
-----------
* Allow spaces in URL property values
* PostgreSQL: Allow sending application name to the server for 
  logging. Thanks to Chris Mayo. See the PostgreSQL URL property,
  application-name.
Bug fixes:
* ResultSet_getBlob: Ensure that returned blob size is 0 if blob
  is SQL null.
* Oracle: Fixed ResultSet memory leak.

Version 2.7
-----------
* Added tentative support for Oracle. Thanks to Volodymyr
  Tarasenko, and Sergey Pavlov for implementing this.
  This implementation does not support BLOB, though CLOB
  is supported. It will also not run all zdb unit tests,
  but should be useful for most purposes. It is released
  with the hope that others may still find it useful and
  help iron out any remaining issues.
* Added new convenience zdb.h meta include file which
  can be used to include all required API interfaces
* Internal optimizing changes and improvements
* SQLite: Clear connection on rollback to prevent SQLite
  from issue an SQLITE_BUSY error if there are pending
  selects in progress.
* SQLite: added a "heap_limit" URL property. Makes SQLite 
  auto-release unused memory if memory usage goes above 
  the specified limit [KB]. Require that SQLite is
  compiled with the SQLITE_ENABLE_MEMORY_MANAGEMENT option
  to take effect.
Bug fixes:
* SQLite: Ensure that the database file is specified in
  connection URL. Thanks to Bogdan Nicula.
* PostgreSQL: Implemented Connection_setQueryTimeout()
   2012-10-03 11:10:35 by Aleksej Saushev | Files touched by this commit (193)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.