Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
Fix for last_query reconstruction with lots of placeholders. Bug 12418, patch by Nicholas Evans.
Added special-case to handle SAVEPOINT queries as manip queries. Bug 12260.
Added support for another error message in the SQLite driver. Bug 12105, patch by Adam Ashley.
Made the definition of DB_common::raiseError() compatible with PEAR::raiseError() by adding dummy parameters, thereby fixing request 11581 once and for all. Once and for all! (There's no change to the existing parameters, hence no BC break.)
Make package.xml valid xml again
Fix for bug #11716 (SQLite returns result field names with quotes).
Completed request #11581 (Avoid some strict warnings).
Fix for bug #11580 (DB_mysql::tableInfo() bug when using several connections).
Added schema.views support to DB_pgsql::getSpecialQuery() to avoid disadvantaging views within schemas. Request 11080.
Added view support to DB_oci8::getSpecialQuery() for feature parity with other backends. Request 11110.
Updated package.xml to version 2 and prepared for the DB 1.7.12 release.
Fix for bug #10473 (With fbsql, when calling commit or rollback, the connection is not passed-on); prepare for DB 1.7.11.
Trivial fix for bug #10211 (MySQL v5.x 'bit' fields not recognized) and preparation for the release of DB 1.7.10.
Added two test files that were meant to be in the 1.7.8 package.xml. Oops.
Preparing DB 1.7.9 release.
Updated DB_sybase::tableInfo() to cope with old versions of ASE that don't have sp_helpindex. Bug 6683.
Added a specific DB_sybase::quoteFloat() implementation along the same lines as fbsql.
Added divide by zero error mapping for Sybase driver.
Preparing for DB 1.7.8 final.
Tweaked DB::isManip() to attempt to deal with SELECT queries that include the word INTO in a non-keyword context. Fixes bug #9869. This changeset also prepares package.xml for DB 1.7.8RC2.
Preparing DB 1.7.8RC1 release.
Altered DB_mssql::nextId() to use IDENT_CURRENT instead of @@IDENTITY, thereby resolving problems with concurrent nextId() calls. Fixes bug #181 (MSSQL: transaction logic problem with multiple tables and concurrent inserts).
Changed all freeResult() methods to check that the parameter is a resource before calling the native function to free the result. Fixes bug #5762 (Empty getRow() result causes ocifreestatemet() error).
Altered DB_ifx::simpleQuery() to treat EXECUTE queries as being data-returning. Fixes bug #5204 (Informix driver does not support stored procedures returning values).
Added DB_common::nextQueryIsManip() to explicitly hint that the next query is a manipulation query and therefore ignore DB::isManip(); updated drivers to use the new flags; and updated the query test to check that it behaves as expected. Fixes bug #3895 (DB::isManip issues) as well as we can, given the limitations of isManip in general and the need to maintain BC.
Added schema support to _pgFieldFlags. Fixes bug #5796 (Add Schema support to _pgFieldFlags in pgsql driver) and the related bug #7114 (Pgsql - incorrect results for schema).
Fixed DB_result::fetch*() to only increment their internal row_counters when a row number has not been provided. Fixes bug #7502 (DB_result::fetchRow() that sets $rownum still increments row_counter).
Added the mysterious 246 data type to the mysqli type map. Fixes bug #6477 (Broken types array in mysqli extension) -- or as much as it can be fixed, anyway, without architectural changes to DB which aren't going to happen.
Fixed quoting of float values to always have the decimal point as a point, rather than a comma, irrespective of locale. This also refactors the quoteSmart code slightly to always use DB_common::quoteSmart(), with quoteBoolean() and quoteFloat() methods being added to deal with database-specific semantics for those types. Fixes bug #3021 (have quoteSmart() convert floats to strings).
Fix DB_result::numRows() to return the correct value for limit queries in fbsql.
Added tracking of oci8 prepared queries to ensure that last_query is set properly even when there are multiple prepared queries at a given time. Fixes bug #7632 (oracle: unable to get numRows from prepared query).
Added DB::getDSNString() to allow pretty-printing of both string and array DSNs, thereby improving the output of DB::connect() on error. Also updated the parseDSN tests to parse the output of getDSNString and make sure that it parses exactly the same as the original DSN. This fixes bug #3759 (Array DSN not converted to string in PEAR::ERROR user info).
Added code to DB_result::numRows() to return correct results when limit emulation is being used and updated the limit test to check this. Fixes bug #4649 (MSSQL: numRows() returns wrong result for limitQuery()).
Altered DB_oci8::connect() to handle non-standard ports. Fixes bug #7216 (OCI8 module ignores non-standard port).
Altered DB_oci8::numRows() to properly restore last_query state. Fixes bug #4388 (DB Error if calling numRows() before tableInfo() (ORACLE)).
Added code to DB_ibase::prepare() to return a DB_Error when ibase_prepare fails, rather than the current behaviour of blindly returning whatever ibase_prepare returns (which is false). This fixes bug #8217 (AutoPrepare returns false).
Added initial release notes for DB covering the changes I've made today.
Resetting package.xml for the next DB release cycle.
Preparing for DB 1.7.7 release.
Updated Informix error handling and its testing.
Fixed bug #7501 (ORACLE: connect method for PHP4 does not consider 'database' field in $dsn var), which fixes the DSN handling to have consistent behaviour using both the old and new oci8 extensions.
Added support for certain SQL Server 2005 error codes to the mssql driver.
Added support for new error codes in MySQL 5.
Updated package.xml to reflect the current state of HEAD and the updated list of maintainers.
- removed myself as helper
* Fix issues with delimited identifiers in mssql tableInfo(). Bug 8336.
- updated changelog
- added ability to specify port number when using unix sockets in DB::parseDSN() (bug #5982)
fixed handling of fully qualified table names in tableInfo(). Bug 4272.
- updated changelog
smith@backendmedia.com => smith@pooteeweet.org
* Tweak quoteSmart() to allows MS Access to wrap dates in #'s. Bug 4813.
* Eliminate "Undefined index $vars" notice in store(). Bug 4766.
* Latest changes.
* If connection is lost, raise DB_ERROR_CONNECT_FAILED instead of the generic DB_ERROR. Bug 4446.
* When inserting to non-existant column in pgsql, produce proper error, "no such field", instead of "no such table". Bug 4365.
* Provide BC hack for those connecting to oci8 using 'hostspec' instead of 'database'. Bug 4104.
* Fix the docblocks regarding DB_FETCHMODE_FLIPPED. Bug 4027.
* Don't pass new_link to mysql_pconnect(). Bug 3993.
* Latest changes.
* Map error message for multi-column unique constraints.
* Fix mssql tableInfo() so flags are returned. Bug 3691.
* Remove modifyLimitQuery() from getOne() and getRow() due to backwards compatibility issues. This undoes request 1771 and the hacks required fix the problems it brought (bug 3663, bug 3666 and bug 3680). Fixes bug 3705.
* getOne() and getRow() should not use limit queries if the query contains aggregation functions: AVG, COUNT, MAX, MIN, SUM. Bug 3680.
* Make modifyLimitQuery() accommodate queries that already have ";" appended to them. Bug 3666.
* modifyLimitQuery() should not not modify the query if it already has a LIMIT clause. Bug 3663.
let's roll with 1.7.0...
* __sleep() should not call disconnect(). Also store connection state in the new $was_connected property. This resolves Bug 3594 that was introduced in 1.7.0RC1.
* Latest changes.
* Helps to name the (multiconnect.php) file correctly.
* Here we go with rc1 of 1.7.0...
* The latest changelog stuff.
* Rework ibase error handlers.
* Misc updates for dbase.
* Latest goodies.
* Change Sybase's identifier delimiting from [] to "".
* Remove the mysql extension specific bug22328.phpt test.
* Further updates.
* Add getListOf() support to odbc. Request 2669.
* Add tableInfo() support to odbc. Request 2669.
* Add numRows() to ifx and ibase.
* Add test for getListOf(). * Error maps for mysql.
* Rearrange things and update the info.
* Add __wakeup() to each driver so connections will automatically be reestablished when PHP's unserialize() function is called. Request 928.
* Latest changes.
* Adding getListOf() to ibase.
* When using getOne() and getRow(), if the DBMS supports LIMIT queries, limit the output to one row. Request 1771.
* Add lateset info and new test.
* Add connect_timeout (Request 3228), new_link, sslmode, and service support to pgsql connect().
* Add new_link and client_flags support to connect().
* Add affectedRows() support to ibase.
* When the number of columns doesn't match the number of values use the DB_ERROR_VALUE_COUNT_ON_ROW error code.
* Resolve tableInfo() issue caused by PHP 5.0.3. Bug 2988.
* Latest changes.
* When trying to DROP an index that doesn't exist, use the DB_ERROR_NOT_FOUND error code.
* Better report errors from creating a duplicate index.
* Add Lukas as helper.
* Indicate $num_rows changes.
* Implement the new header docblocks.
* Better explain the situation of which DBMS's are supported.
* Tweak format.
* Consider SELECT INTO and COPY data manipulation queries in isManip(). Bug 2883. * Use pg_affected_rows() instead of the undocumented pg_cmdtuples().
* Deal with MS Access' excessive use of the
S1000 ("General Error") code by trying to
pin down a more specific error.
* Add '23504' => DB_ERROR_CONSTRAINT to error map.
* Allow multiple open parentheses in query strings (due to regex in simpleQuery()). Bug 2586.
* Add tableInfo() to sqlite.
* When running PHP5, use the new oci_new_connect() and oci_close() functions instead of the old ones. Works around crashes caused by PHP bug http://bugs.php.net/bug.php?id=28924 (PEAR Bug #2622)
* How about using the right bug number?
* Use "," to delimit port only for Windows. Use ":" for other OS's. This bug was introduced when resolving Bug #2140. (Bug #2730)
*
* Capture $php_errormsg on connection errors to make debugging easier. * Some whitespace cleanup.
* Make fbsql sequences work.
* Note work thus far toward 1.7.0.
* Provide debugging information to raiseError() when connections fail so getUserInfo() and getDebugInfo() provide useful information. * Remove Stig's middle name to avoid bizarre renderings of the dipthong.
* Ahem... prefix the constant with DB instead of MDB2. * Tweak order of error mappings.
* Add -904 => MDB2_ERROR_CONNECT_FAILED to ibase's errorcode_map.
* If DSN contains "dbsyntax", always use that for $this->dbsyntax.
* Add "permission denied" to error regex. Bug 2417. (stewart_linux-org-au)
* Allow use of cursor argument to odbc connect functions.
* Don't anchor start of error regex. Bug 2399.