Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 1st set of fixes to make tests work with MySQL | Ilia Alshanetsky | 2005-07-07 | 7 | -1/+32 |
| | | | | | # Additional changes pending | ||||
* | populate the new dbh->driver field. | Wez Furlong | 2005-07-07 | 2 | -0/+5 |
| | | | | | Implement PDO_ATTR_DRIVER_NAME. | ||||
* | add an attribute for returning the driver name | Wez Furlong | 2005-07-07 | 1 | -1/+4 |
| | |||||
* | remove old test files | Wez Furlong | 2005-07-07 | 27 | -1130/+0 |
| | |||||
* | Stop on the 1st skip. | Ilia Alshanetsky | 2005-07-07 | 27 | -55/+55 |
| | |||||
* | skip if we can't connect (include reason in skip output) | Wez Furlong | 2005-07-07 | 27 | -26/+127 |
| | |||||
* | Return an empty array rather then FALSE in fetchAll() on no results. | Ilia Alshanetsky | 2005-07-07 | 1 | -3/+7 |
| | |||||
* | Need to state NOT NULL here, as DB2 won't allow the UNIQUE constraint ↵ | Wez Furlong | 2005-07-07 | 3 | -3/+3 |
| | | | | without it. | ||||
* | make column names lower case | Wez Furlong | 2005-07-07 | 1 | -0/+1 |
| | |||||
* | extra paranoia about the attribute param | Wez Furlong | 2005-07-07 | 1 | -2/+2 |
| | |||||
* | Fix bug in bindColumn() for drivers that implement native prepared statements | Wez Furlong | 2005-07-07 | 1 | -1/+1 |
| | | | | | and that use the PDO rewriter to handle non-native parameter syntax. | ||||
* | pedantic WS | Wez Furlong | 2005-07-07 | 1 | -5/+5 |
| | |||||
* | It's not portable to expect any consistency between drivers in the return value | Wez Furlong | 2005-07-07 | 1 | -2/+1 |
| | | | | | of an exec() when running DDL; revise test. | ||||
* | Fixed memory leaks | Dmitry Stogov | 2005-07-07 | 2 | -10/+12 |
| | |||||
* | rename pdo_test.php to pdo_test.inc, add it, and update tests. | Wez Furlong | 2005-07-06 | 27 | -26/+63 |
| | |||||
* | juggling to track down a problem with odbc | Wez Furlong | 2005-07-06 | 1 | -3/+3 |
| | |||||
* | last minute debug stuff sneaked in | Wez Furlong | 2005-07-06 | 1 | -4/+0 |
| | |||||
* | Add tests that can be redirected to with new test harness feature. | Wez Furlong | 2005-07-06 | 26 | -0/+2420 |
| | |||||
* | Add PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columns | Wez Furlong | 2005-07-03 | 3 | -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 Alshanetsky | 2005-07-02 | 1 | -0/+1 |
| | |||||
* | Add sqlstates defined in PostgreSQL documentation. | Edin Kadribasic | 2005-07-01 | 1 | -3/+150 |
| | | | | | Source: http://www.postgresql.org/docs/8.0/static/errcodes-appendix.html | ||||
* | Added class 55 sqlstates | Edin Kadribasic | 2005-07-01 | 1 | -0/+3 |
| | |||||
* | fix tests when error_reporting is E_ALL | foobar | 2005-06-28 | 1 | -1/+1 |
| | |||||
* | Remove "custom" PDDRV sqlstate. | Ilia Alshanetsky | 2005-06-27 | 1 | -2/+1 |
| | |||||
* | Missing part of the previous patch. | Ilia Alshanetsky | 2005-06-24 | 1 | -1/+2 |
| | |||||
* | Fixed PDO Mysql tests. | Ilia Alshanetsky | 2005-06-24 | 1 | -1/+1 |
| | |||||
* | - Add +ifdefs to still allow PHP 5.0 builds of PDO | Marcus Boerger | 2005-06-23 | 1 | -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 Stogov | 2005-06-17 | 1 | -1/+12 |
| | | | | dependencies and conflicts | ||||
* | If the macro exists, use it, otherwise use the Makefile.frag | foobar | 2005-06-14 | 1 | -5/+6 |
| | |||||
* | and the lesson is, test everything before you commit at 2am | Wez Furlong | 2005-06-11 | 1 | -3/+1 |
| | |||||
* | couple of conceptual errors here | Wez Furlong | 2005-06-11 | 1 | -3/+2 |
| | |||||
* | "Fix" PECL #4411 | Wez Furlong | 2005-06-10 | 1 | -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 a | Wez Furlong | 2005-06-10 | 2 | -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 function | Wez Furlong | 2005-06-10 | 1 | -1/+1 |
| | |||||
* | Fixed zval_ptr_dtor(&return_value) on uninicialized zval | Dmitry Stogov | 2005-06-08 | 1 | -0/+2 |
| | |||||
* | - Unify the "configure --help" texts | foobar | 2005-05-29 | 1 | -1/+1 |
| | |||||
* | - Need to make PDO::__construct() final to prevent SEGV it isn't called 1st | Marcus Boerger | 2005-05-26 | 3 | -12/+1 |
| | |||||
* | - Add test for deriving PDO | Marcus Boerger | 2005-05-24 | 1 | -0/+75 |
| | |||||
* | - Add new tests for PDO_FETCH_INTO | Marcus Boerger | 2005-05-24 | 1 | -0/+51 |
| | |||||
* | - fetchSingle() was renamed to fetchColumn() | Marcus Boerger | 2005-05-21 | 6 | -8/+8 |
| | |||||
* | Various compiler warning fixes. | Ilia Alshanetsky | 2005-05-18 | 1 | -5/+5 |
| | |||||
* | As per PDO meeting on PHP|Tropics fetchSingle is being renamed to | Ilia Alshanetsky | 2005-05-17 | 2 | -22/+37 |
| | | | | | fetchColumn and now supports specification of the column to retrieve. | ||||
* | Allow it build with PHP 5.0.x and up again. | Wez Furlong | 2005-05-14 | 2 | -1/+32 |
| | |||||
* | - Added PHP_INSTALL_HEADERS() macro | foobar | 2005-05-07 | 2 | -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 enabled | foobar | 2005-05-06 | 1 | -13/+18 |
| | |||||
* | Allocation checks around persistent allocs that can fail. | Ilia Alshanetsky | 2005-04-28 | 1 | -2/+6 |
| | |||||
* | removed debug code. | Ilia Alshanetsky | 2005-04-27 | 1 | -1/+0 |
| | |||||
* | fix bug #32795 | Wez Furlong | 2005-04-22 | 1 | -2/+2 |
| | |||||
* | missing header (re2c 0.9.4 built .c file) | Ilia Alshanetsky | 2005-04-14 | 1 | -14/+15 |
| | |||||
* | Added missing header. | Ilia Alshanetsky | 2005-04-14 | 1 | -0/+1 |
| |