[ANNOUNCEMENT] MDB2_Driver_fbsql-0.3.0 (alpha) Released.
| From: | PEAR Announce | Date: | Tue, 23 Oct 2012 18:14:40 +0000 |
| Subject: | [ANNOUNCEMENT] MDB2_Driver_fbsql-0.3.0 (alpha) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31640@lists.php.net to get a copy of this message | ||
The new PEAR package MDB2_Driver_fbsql-0.3.0 (alpha) has been released at http://pear.php.net/.
Release notes
-------------
- PEAR::isError() -> MDB2::isError(), Bug #19491.
- PEAR::loadExtension() -> extension_loaded(), Bug #19583.
- Remove last few "Assigning the return value of new by reference is deprecated" notices.
- Fix Bug #19262. Updates conditional stagements to use logical operators to include
MDB2_FETCHMODE_OBJECT where appropriate. Was broken in r321197.
- Have alterTable() return MDB2_OK on success, as documented (bug 19200)
- Have dropTable() return MDB2_OK on success, as documented (bug 19199)
- Have dropIndex() return MDB2_OK on success, as documented (bug 19198)
- Have dropSequence() return MDB2_OK on success, as documented (bug 19191).
- FETCHMODE constants are NOT bitwise.
- Fix problems with rev 308955 (setResultTypesAssoc() does not exist, missed handling some
associative results) (Bug #18203).
- #13291 fixed.
- Check is DBA_username is set or not
- Use standaloneQueris for excute create/drop satabase
- Add options DBA_username and DBA_password
- Add new methid databaseExists
- Add _doConnect method
- Change connect method to use _doConnect
- Add standaloneQuery only for excute DBA queries
- fix typo in fbsql
- fixed bug #12924: correctly handle internal expected errors even with custom error handling
- request #12012: added charset/collation support in createDatabase() for the drivers that support
this feature
- fixed bug #12269: tableInfo() in the Reverse module detect 'clob' data type as first
option
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x
- added _mapNativeDatatype() in the Datatype module
- phpdoc fixes in all the list*() methods
- removed outdated comments
- removed use of track_errors, it was causing pain for users of controlled environments due to the
use if ini_set() and it does not work in 5.2.0 reliably anymore anways
- added supported 'new_link' and use it to determine if lastInsertID() test can be run
(does ibase do new links for the same host by default?)
- skipping proper id generation prevents lastInsertID() from working
- unreachable code
- handle quoted identifier and SQL comment in prepare parser - expanded definition of quote and
escape characters - added support for scale in decimal field definition
- cosmetic fixes s/ressource/resource s/id/resource
- s/Metabase/MDB2
- fixed inheritance structure of convertResult()
- reverted the bulk of the recent rtrim changes because it was killing performance - if types have
been defined, then rtrim is not done inside _fixResultArrayValues() but inside covertResult()
instead (but only for type 'text')
- fixed mode handling in convert methods and added missing phpdoc comments
- refactored _fixResultArrayValues() into convertResultRow of the datatype module - force loading of
the datatype module in MDB2::factory() - only apply RTRIM for type 'text' or null
- do not list empty contraints and indexes
- fixed and cleaned up handling return values when disable_query is set in _doQuery() and _execute()
- readded accidentally removed debug() call in beginTransaction()
- use old dsn when rolling back in disconnect()
- renamed 'time' to 'when' in the debug context array (still not entirely happy,
but less ambiguous)
- check that $savepoint is_null ..
- reworked tableInfo() to use a common implementation based on getTableFieldDefinition() when a
table name is passed (Bug #8124)
- added nativetype output to tableInfo() and getTableFieldDefinition()
- added mdb2type output to getTableFieldDefinition()
- folded setSavepoint() and releaseSavepoint() into beginTransaction and commit()
- brought rollback() implementation inline with new commit() implementation
- added debug() call at the end of a query/prepare/execute calling (Request #7933)
- added context array parameter to debug() and make use of it whereever sensible
- added optional method name parameter to raiseError() and use whereever possible
- added quote_identifier and pattern_escaping support information
- removed useless nested_transactions parameter since no driver can implement it natively
- various cleanups related to savepoint/nested transaction support
- revert minor BC issue where inTransaction would return an integer instead of a boolean
- added base class for consistency
- turned in_transaction into an integer
- added ability to escape wildcard characters in escape() and quote()
- cleanedup free()
- do not throw an error if the connection has already been terminated (Bug #7790)
- phpdoc fixes
- typo fix for last commit
- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback
- switched most array_key_exists() calls to !empty() to improve readability and performance
- fixed a few edge cases and potential warnings
- generalized quoteIdentifier() with a property
- added setCharset()
- use setCharset() in connect()/_doConnect()
- I have no idea why addslashes() was used for BLOB (this might result in SQL injection
vulnerability)
- phpdoc fixes (thx Stoyan)
- primary key support should work
- added 'prepared_statements' supported meta data setting
- phpdoc fixes
- made _doQuery() return a reference
- added userinfo's to all raiseError calls that previously had none - cosmetic fixes here and
there
- added support for fixed and variable types for 'text' (Request #1523)
- typo fixes in phpdoc (thx Stoyan)
- various minor tweaks to error messages, phpdoc and adding stub methods to the common driver
- explicitly set is_manip parameter to false for transaction debug calls
- explicitly set is_manip parameter to false for transaction debug calls
- various minor tweaks to error messages, phpdoc and adding stub methods to the
common driver
- typo fixes in phpdoc (thx Stoyan)
- added support for fixed and variable types for 'text' in declarations,
as well as in reverse engineering (Request #1523)
- made _doQuery() return a reference
- added userinfo's to all raiseError calls that previously had none
- added 'prepared_statements' supported meta data setting
- marked primary key as supported
- use setCharset() in connect()/_doConnect()
- generalized quoteIdentifier() with a property
- switched most array_key_exists() calls to !empty() to improve readability and performance
- fixed a few edge cases and potential warnings
- added ability to rewrite queries for query(), exec() and prepare() using a debug handler callback
- check if result/connection has not yet been freed/disconnected before
attempting to free a result set(Bug #7790)
- added ability to escape wildcard characters in escape() and quote()
- added debug() call at the end of a query/prepare/execute calling (Request #7933)
- added context array parameter to debug() and make use of it wherever sensible
- added optional method name parameter to raiseError() and use wherever possible
- added ability to escape wildcard characters in escape() and quote()
- added debug() call at the end of a query/prepare/execute calling (Request #7933)
- added 'nativetype' output to tableInfo()
- reworked tableInfo() to use a common implementation based on getTableFieldDefinition()
when a table name is passed (Bug #8124)
- fixed incorrect regex in mapNativeDatatype() (Bug #8256) (thx ioz at ionosfera dot com)
- use old dsn when rolling back open transactions in disconnect()
- do not list empty contraints and indexes
- fixed handling return values when disable_query is set in _doQuery() and _execute()
- increased MDB2 dependency to XXX
- do not skip id generation in nextId() when creating a sequence on demand
because this prevents lastInsertID() from working
- migrated to package.xml version 2
- added _mapNativeDatatype() in the Datatype module
- fixed bug #11790: avoid array_diff() because it has a memory leak in PHP 5.1.x
- fixed bug #12083: createTable() in the Manager module now returns MDB2_OK on success,
as documented
- fixed bug #12269: tableInfo() in the Reverse module detect 'clob' data type
as first option
- fixed bug #12924: correctly handle internal expected errors even with custom error handling
- added standaloneQuery()
note:
- this driver needs a serious update as it's currently unmaintained/untested
open todo items:
- ensure that all primary/unique/foreign key handling is only in the constraint methods
Package Info
------------
This is the Frontbase SQL MDB2 driver.
Related Links
-------------
Package home: http://pear.php.net/package/MDB2_Driver_fbsql
Changelog: http://pear.php.net/package/MDB2_Driver_fbsql/download/0.3.0
Download: http://download.pear.php.net/package/MDB2_Driver_fbsql-0.3.0.tgz
Authors
-------