summaryrefslogtreecommitdiff
path: root/ext/pdo
Commit message (Collapse)AuthorAgeFilesLines
* 1st set of fixes to make tests work with MySQLIlia Alshanetsky2005-07-077-1/+32
| | | | | # Additional changes pending
* populate the new dbh->driver field.Wez Furlong2005-07-072-0/+5
| | | | | Implement PDO_ATTR_DRIVER_NAME.
* add an attribute for returning the driver nameWez Furlong2005-07-071-1/+4
|
* remove old test filesWez Furlong2005-07-0727-1130/+0
|
* Stop on the 1st skip.Ilia Alshanetsky2005-07-0727-55/+55
|
* skip if we can't connect (include reason in skip output)Wez Furlong2005-07-0727-26/+127
|
* Return an empty array rather then FALSE in fetchAll() on no results.Ilia Alshanetsky2005-07-071-3/+7
|
* Need to state NOT NULL here, as DB2 won't allow the UNIQUE constraint ↵Wez Furlong2005-07-073-3/+3
| | | | without it.
* make column names lower caseWez Furlong2005-07-071-0/+1
|
* extra paranoia about the attribute paramWez Furlong2005-07-071-2/+2
|
* Fix bug in bindColumn() for drivers that implement native prepared statementsWez Furlong2005-07-071-1/+1
| | | | | and that use the PDO rewriter to handle non-native parameter syntax.
* pedantic WSWez Furlong2005-07-071-5/+5
|
* It's not portable to expect any consistency between drivers in the return valueWez Furlong2005-07-071-2/+1
| | | | | of an exec() when running DDL; revise test.
* Fixed memory leaksDmitry Stogov2005-07-072-10/+12
|
* rename pdo_test.php to pdo_test.inc, add it, and update tests.Wez Furlong2005-07-0627-26/+63
|
* juggling to track down a problem with odbcWez Furlong2005-07-061-3/+3
|
* last minute debug stuff sneaked inWez Furlong2005-07-061-4/+0
|
* Add tests that can be redirected to with new test harness feature.Wez Furlong2005-07-0626-0/+2420
|
* Add PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columnsWez Furlong2005-07-033-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by name, even when multiple columns have the same name: $sql = "SELECT 1 a, 2 a, 3 b, 4 c, 5 d, 6 c, 7 a"; echo "$sql\n"; print_r($db->query($sql)->fetchAll(PDO_FETCH_NAMED)); Array ( [0] => Array ( [a] => Array ( [0] => 1 [1] => 2 [2] => 7 ) [b] => 3 [c] => Array ( [0] => 4 [1] => 6 ) [d] => 5 ) ) Also added two new attributes for use at prepare time; PDO_ATTR_FETCH_TABLE_NAMES and PDO_ATTR_FETCH_CATALOG_NAMES instruct the driver that the names of the columns that they return to PDO should include the table and catalog names respectively. Both attributes may be used together or independently. The catalog, table and column name components should be separated by a . character.
* Fixed memory leak on PDO_FETCH_OBJ.Ilia Alshanetsky2005-07-021-0/+1
|
* Add sqlstates defined in PostgreSQL documentation.Edin Kadribasic2005-07-011-3/+150
| | | | | Source: http://www.postgresql.org/docs/8.0/static/errcodes-appendix.html
* Added class 55 sqlstatesEdin Kadribasic2005-07-011-0/+3
|
* fix tests when error_reporting is E_ALLfoobar2005-06-281-1/+1
|
* Remove "custom" PDDRV sqlstate.Ilia Alshanetsky2005-06-271-2/+1
|
* Missing part of the previous patch.Ilia Alshanetsky2005-06-241-1/+2
|
* Fixed PDO Mysql tests.Ilia Alshanetsky2005-06-241-1/+1
|
* - Add +ifdefs to still allow PHP 5.0 builds of PDOMarcus Boerger2005-06-231-1/+6
| | | | | | # PDO is a PECL extension and at the moment is still meant to compile on # both PHP 5.0 and PHP 5.1.
* Improved PHP extension loading mechanism with support for module ↵Dmitry Stogov2005-06-171-1/+12
| | | | dependencies and conflicts
* If the macro exists, use it, otherwise use the Makefile.fragfoobar2005-06-141-5/+6
|
* and the lesson is, test everything before you commit at 2amWez Furlong2005-06-111-3/+1
|
* couple of conceptual errors hereWez Furlong2005-06-111-3/+2
|
* "Fix" PECL #4411Wez Furlong2005-06-101-1/+1
| | | | | | SPL is not initialized before PDO, so inheriting from SPL's runtime exception class gives PDO a broken exception class. We don't currently have a way to express this kind of "soft" dependency in the build system, so I'm disabling inheriting from the runtime exception for now.
* Fix a dumb bug that would effecively ignore persistent connections and create aWez Furlong2005-06-102-27/+53
| | | | | | | | | | | | new one each time. Add a hook for persistent connections: it is called when the object goes out of scope, and offers the driver an opportunity to release per-request scoped data at the right time. This hook is used by pdo_sqlite to unregister UDFs, which are dangerous to keep registered between requests.
* initialize type of functionWez Furlong2005-06-101-1/+1
|
* Fixed zval_ptr_dtor(&return_value) on uninicialized zvalDmitry Stogov2005-06-081-0/+2
|
* - Unify the "configure --help" textsfoobar2005-05-291-1/+1
|
* - Need to make PDO::__construct() final to prevent SEGV it isn't called 1stMarcus Boerger2005-05-263-12/+1
|
* - Add test for deriving PDOMarcus Boerger2005-05-241-0/+75
|
* - Add new tests for PDO_FETCH_INTOMarcus Boerger2005-05-241-0/+51
|
* - fetchSingle() was renamed to fetchColumn()Marcus Boerger2005-05-216-8/+8
|
* Various compiler warning fixes.Ilia Alshanetsky2005-05-181-5/+5
|
* As per PDO meeting on PHP|Tropics fetchSingle is being renamed toIlia Alshanetsky2005-05-172-22/+37
| | | | | fetchColumn and now supports specification of the column to retrieve.
* Allow it build with PHP 5.0.x and up again.Wez Furlong2005-05-142-1/+32
|
* - Added PHP_INSTALL_HEADERS() macrofoobar2005-05-072-33/+1
| | | | | | | - Fixed several VPATH build issues - Changed all awk calls to use $AWK - Changed all mkdir calls to use "$php_shtool mkdir"
* Only test stuff if PDO is enabledfoobar2005-05-061-13/+18
|
* Allocation checks around persistent allocs that can fail.Ilia Alshanetsky2005-04-281-2/+6
|
* removed debug code.Ilia Alshanetsky2005-04-271-1/+0
|
* fix bug #32795Wez Furlong2005-04-221-2/+2
|
* missing header (re2c 0.9.4 built .c file)Ilia Alshanetsky2005-04-141-14/+15
|
* Added missing header.Ilia Alshanetsky2005-04-141-0/+1
|