Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | year++ | Xinchen Hui | 2018-01-02 | 5 | -5/+5 |
| | |||||
* | Turn "pdo_stmt_methods" into constants. | Dmitry Stogov | 2017-12-14 | 2 | -2/+2 |
| | |||||
* | Move constants into read-only data segment | Dmitry Stogov | 2017-12-14 | 3 | -4/+4 |
| | |||||
* | Treat DATETIME2 columns like DATETIME | fandrieu | 2017-11-10 | 3 | -0/+45 |
| | |||||
* | Use TDS version attribute to determine whether to skip tests | Adam Baratz | 2017-11-10 | 3 | -18/+4 |
| | |||||
* | Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute on \PDO instance | fandrieu | 2017-11-10 | 4 | -0/+90 |
| | |||||
* | Fix comment style | Adam Baratz | 2017-11-10 | 1 | -2/+3 |
| | |||||
* | More robust handling of stringified column data | Adam Baratz | 2017-11-10 | 2 | -19/+50 |
| | | | | | | | - Use at least the FreeTDS maximum when converting datetime data - Pass buffer length to dbconvert() - Use dbconvert() return value to set string lengths or handle errors - Move shared code into shared function | ||||
* | Output column data for easier debugging | Adam Baratz | 2017-11-08 | 1 | -31/+31 |
| | |||||
* | Fix #74243: allow locales.conf to drive datetime format | fandrieu | 2017-10-31 | 5 | -27/+100 |
| | | | | Add a driver attribute, PDO::DBLIB_ATTR_DATETIME_CONVERT, to control. | ||||
* | Use size_t instead of int, use more specific format string | Adam Baratz | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | Implemented request #69592: allow 0-column rowsets to be skipped automatically | fandrieu | 2017-10-17 | 5 | -3/+84 |
| | | | | | | | | | | | | | This adds a new attribute PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS to enable automatic skipping of empty rowsets. This happens with some SQL commands (like PRINT or SET): a rowset with 0 columns is returned by the driver. With this option enabled, 0 columns rowsets are automatically skipped, mirroring the behavior of the deprecated mssql extension. Credits go to MiRacLe-RPZ for developping and promoting this patch. | ||||
* | Get rid of all these old package[2].xml files, most of these had no had a ↵ | Kalle Sommer Nielsen | 2017-08-17 | 1 | -76/+0 |
| | | | | | | release since PHP4, or any release at all in close to 10 years, some even did not have a package registered at pecl OCI, PDO_OCI and zip are left as they are actively developed and released there | ||||
* | remove checks for eol dependencies | Anatol Belski | 2017-07-10 | 1 | -32/+1 |
| | | | | yet one leftower, only FreeTDS is usable at the moment | ||||
* | Add PDO parameter types for national character set strings | Adam Baratz | 2017-03-20 | 4 | -3/+83 |
| | |||||
* | Style cleanup | Adam Baratz | 2017-03-20 | 1 | -5/+4 |
| | |||||
* | Add test coverage for bug #72969 | Adam Baratz | 2017-01-27 | 7 | -0/+571 |
| | | | | | | | | | | This was not an issue with pdo_dblib, but rather with FreeTDS. FreeTDS has been fixed as of the fc820490336c50d5c175d2a15327383256add4c9 on that repo. These tests will be skipped if a version of FreeTDS with that issue is present. I only cleaned up this commit for pushing. For fixing the FreeTDS issue and writing corresponding pdo_dblib tests, thanks to: Jeff Farr <jefarr@wayfair.com> | ||||
* | Expose DB-Library version as \PDO::DBLIB_ATTR_VERSION attribute on \PDO instance | Adam Baratz | 2017-01-27 | 4 | -0/+23 |
| | |||||
* | style cleanup | Adam Baratz | 2017-01-27 | 1 | -8/+11 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 5 | -5/+5 |
| | |||||
* | Add "Sent SQL" to debug dump for emulated prepares | Adam Baratz | 2016-12-20 | 1 | -0/+5 |
| | |||||
* | Remove PDOStatement::activeQueryString() | Adam Baratz | 2016-12-20 | 1 | -5/+0 |
| | |||||
* | Merge branch 'PHP-7.1' | Adam Baratz | 2016-12-07 | 5 | -13/+3 |
|\ | | | | | | | | | | | * PHP-7.1: Remove noop param hook Clean up tabs and whitespace | ||||
| * | Remove noop param hook | Adam Baratz | 2016-12-07 | 1 | -7/+1 |
| | | |||||
| * | Clean up tabs and whitespace | Adam Baratz | 2016-12-07 | 4 | -6/+2 |
| | | |||||
* | | Revert "Remove PDOStatement::activeQueryString()" | Adam Baratz | 2016-11-17 | 1 | -0/+5 |
| | | | | | | | | This reverts commit 552c95750052a5c4879a9c67e2f2ec126567222c. | ||||
* | | Remove PDOStatement::activeQueryString() | Adam Baratz | 2016-11-16 | 1 | -5/+0 |
| | | |||||
* | | Add PDOStatement::activeQueryString() | Adam Baratz | 2016-11-15 | 1 | -0/+5 |
| | | |||||
* | | Use more accurate types to avoid compiler warnings | Adam Baratz | 2016-10-31 | 1 | -10/+11 |
| | | |||||
* | | Fix comment style | Adam Baratz | 2016-10-31 | 1 | -2/+4 |
| | | |||||
* | | Fix #73396: bigint columns are returned as strings | Adam Baratz | 2016-10-27 | 3 | -4/+34 |
| | | |||||
* | | Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h. | Adam Baratz | 2016-10-27 | 1 | -4/+0 |
| | | |||||
* | | remove unread var | Adam Baratz | 2016-10-27 | 1 | -2/+1 |
| | | |||||
* | | add myself to pdo_dblib CREDITS | Adam Baratz | 2016-10-27 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'PHP-7.0' into PHP-7.1 | Adam Baratz | 2016-09-26 | 1 | -2/+2 |
|\ | | | | | | | | | | | * PHP-7.0: update NEWS Ignore potentially misleading dberr values | ||||
| * | Ignore potentially misleading dberr values | Chris Kings-Lynne | 2016-09-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | FreeTDS had a buggy behavior where it would pass invalid values: https://sourceforge.net/p/freetds/bugs/59/ The fix for this issue -- bc22b2ef817fb5d102bd758111ff3634b39a1319 on their repo -- was to always use SYBESMSG for dberr. This makes it so the existing pdo_dblib code would work as is. But by ignoring the dberr value in this function, it will behave correctly, even with older versions of FreeTDS. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Adam Baratz | 2016-09-21 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: Limit size of result set for test query | ||||
| * | Limit size of result set for test query | Adam Baratz | 2016-09-21 | 1 | -1/+1 |
| | | | | | | | | | | This result set can be very large, depending on the database. This change ensures this test won't be slow. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Adam Baratz | 2016-09-21 | 2 | -2/+59 |
|\ \ | |/ | | | | | | | | | * PHP-7.0: update NEWS PHP bug 67130: nextRowset should work with unfetched rows | ||||
| * | PHP bug 67130: nextRowset should work with unfetched rows | Peter LeBrun | 2016-09-21 | 2 | -2/+59 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Adam Baratz | 2016-09-21 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: Move dtor before memory freed to avoid invalid read | ||||
| * | Move dtor before memory freed to avoid invalid read | Adam Baratz | 2016-09-21 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Adam Baratz | 2016-09-14 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: Skip test for early TDS versions | ||||
| * | Skip test for early TDS versions | Adam Baratz | 2016-09-14 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Adam Baratz | 2016-09-13 | 5 | -16/+45 |
|\ \ | |/ | | | | | | | | | | | | | * PHP-7.0: Add special case for earlier versions of TDS Adjust error formatting so ext/pdo/tests/bug_43130.phpt passes with pdo_dblib Free error and message strings when cleaning up PDO instances that use pdo_dblib Add common suite | ||||
| * | Adjust error formatting so ext/pdo/tests/bug_43130.phpt passes with pdo_dblib | Adam Baratz | 2016-09-13 | 1 | -0/+5 |
| | | |||||
| * | Free error and message strings when cleaning up PDO instances that use pdo_dblib | Adam Baratz | 2016-09-13 | 4 | -16/+23 |
| | | |||||
| * | Add common suite | Adam Baratz | 2016-09-13 | 1 | -0/+17 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Adam Baratz | 2016-09-13 | 4 | -12/+56 |
|\ \ | |/ | | | | | | | * PHP-7.0: Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versions | ||||
| * | Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versions | Adam Baratz | 2016-09-13 | 4 | -12/+56 |
| | |