CHANGES version 2.0 This file summarizes changes made since 1.0 Version 2.0 ----------- * Exceptions handling added to the library. This change how clients should use the library. Methods in the library that can throw an SQL Exception should now be called from inside a try-catch block. Bug fixes: * Fixed a PostgreSQL prepared statement bug. If parts of a statement was defined after its last parameter, preparation failed. Version 1.1.3 ------------- Bug fixes: * This release fixes a MySQL prepared statement bug. If a prepared statement was used with two or more number parameters, the numbers were saved with a bogus value in the database. Thanks to José Antonio Sánchez Version 1.1.2 ------------- * ResultSet_next() can be given a NULL value, upon which FALSE is returned. Version 1.1.1 ------------- * Changed the license exceptions so that restrictions in section 3 is removed and void for third parties not affected by section 3. Version 1.1 ------------- * Added PostgreSQL support * Using 'mysql_config' when available. Thanks to Paul Stevens paul at nfg.nl * Removed the viral clausal from the exceptions license * Note, the caller is now responsible for freeing the URL_T object used in ConnectionPool_new(), via the URL_free() method. Version 1.0.4 ------------- * Use libtool to set release information for the library. * Simplified and removed section 4 of the license exception. * Use new version of auto-tools so library extension is set correct * Include bootstrap script for recreating configure * Minor internal changes Version 1.0.3 ------------- * Clear any previous resultset when calling Connection_execute() also. This allow MySQL implementations to issue a Connection_executeQuery() followed by Connection_execute() without having to close the Connection first. Otherwise MySQL may return a 'commands out of sync' error. Bug fixes: * Changed declaration of AbortHandler() so clients are not required to provide this function. Version 1.0.2 ------------- Bug fixes: * Refactor and consolidate PreparedStatement clearResultSet * Do not free prepared statements on Connection_executeQuery(), only the ResultSet if any. * MySQL: Avoid unnecessary re-allocation in MysqlResultSet.ensureCapacity() and set the new buffer length properly. * MySQL: Stop MysqlResultSet_next() sooner when maxRows is reached for versions < 5.0 * MySQL: Do not try to bind params in PreparedStatement unless in-params are present in the statement Version 1.0.1 ------------- * API: Connection_beginTransaction(), Connection_commit() and Connection_rollback() now returns an int (TRUE of FALSE) instead of void. Bug fixes: * MySQL: Removed a debug statement in MySQL prepare statement so a potential error message is not lost - MySQL pops last error messages. * MySQL: Make room for a terminating NUL byte when fetching large strings. * configure.ac: Don't link with zlib unless mysql version was confirmed * configure.ac: Don't print a warning if re2c was not found - Not required Version 1.0 ----------- * Initial release