Hi all,

I've added the escape functions to libdbi, and with at least one
positive feedback (thanks Mike!) I dare to pronounce released
libdbi-0.8.3 and libdbi-drivers-0.8.3. Both are available on the SF
project pages:

http://libdbi.sourceforge.net
http://libdbi-drivers.sourceforge.net

The changes are appended below. I hope that these
releases meet the most pressing demands, especially the requests for a
uniform licensing.

regards,
Markus

libdbi 0.8.3 (the "Steeltown" release)

Bugfixes

- database engine client libraries which install exit handlers are not
  safe to unload on some systems. libdbi now checks the driver
  capability "safe_dlclose" and unloads the driver only if the driver
  claims it is safe to do so.

Improvements

- three functions were added: dbi_conn_escape_string(),
  dbi_conn_escape_string_copy(), and dbi_conn_escape_binary_copy()
  perform the same escaping of special characters as the corresponding
  *_quote_* functions do, but they do not surround the resulting
  string with quotes. This may at times be more convenient if the
  escaped strings are not directly inserted into a SQL query.

- error handling and reporting was changed once again. The
  dbi_conn_error_flag() function is now deprecated. Instead, a call of
  dbi_conn_error() is all it takes to check the error status. This
  function returns zero if the last operation was successful, < 0 (one
  of several predefined libdbi error codes) for internal errors, and > 0
  for client library errors. To maintain backwards compatibility,
  dbi_conn_error_flags() reports the same error codes as
  dbi_conn_error() so older code should not break as long as you checked
  against the predefined error codes.

- deprecated functions will now cause compiler warnings to make you
  aware of this fact. This does not negatively affect your programs
  but it kindly reminds you of the fact that right now is a good time to
  modify your sources.


0.8.3 (the "Shores of California" release)

- major overhaul of the firebird driver. The driver is now linked to
  libfbembed.so instead of libfbclient.so. You can request a local
  connection (bypassing the server altogether) by using an empty
  hostname, or a local connection through the server by using
  "localhost" or the actual computer name as the hostname.

- changed all driver code to LGPL, and all doc code to GFDL with no
  invariant sections as requested by several packagers

- made linking drivers against libdbi the default. This behaviour can be
  switched off by --disable-libdbi, a reversal of the previous default

- improved support for MySQL and PostgreSQL connection options

- assorted fixes for MinGW compatibility

- all drivers now implement the "safe_dlclose" driver capability to
  signal libdbi whether or not the driver can safely be unloaded from
  memory.

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to