summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib
Commit message (Collapse)AuthorAgeFilesLines
* year++Xinchen Hui2018-01-025-5/+5
|
* Turn "pdo_stmt_methods" into constants.Dmitry Stogov2017-12-142-2/+2
|
* Move constants into read-only data segmentDmitry Stogov2017-12-143-4/+4
|
* Treat DATETIME2 columns like DATETIMEfandrieu2017-11-103-0/+45
|
* Use TDS version attribute to determine whether to skip testsAdam Baratz2017-11-103-18/+4
|
* Expose TDS version as \PDO::DBLIB_ATTR_TDS_VERSION attribute on \PDO instancefandrieu2017-11-104-0/+90
|
* Fix comment styleAdam Baratz2017-11-101-2/+3
|
* More robust handling of stringified column dataAdam Baratz2017-11-102-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 debuggingAdam Baratz2017-11-081-31/+31
|
* Fix #74243: allow locales.conf to drive datetime formatfandrieu2017-10-315-27/+100
| | | | Add a driver attribute, PDO::DBLIB_ATTR_DATETIME_CONVERT, to control.
* Use size_t instead of int, use more specific format stringAdam Baratz2017-10-311-2/+2
|
* Implemented request #69592: allow 0-column rowsets to be skipped automaticallyfandrieu2017-10-175-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 Nielsen2017-08-171-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 dependenciesAnatol Belski2017-07-101-32/+1
| | | | yet one leftower, only FreeTDS is usable at the moment
* Add PDO parameter types for national character set stringsAdam Baratz2017-03-204-3/+83
|
* Style cleanupAdam Baratz2017-03-201-5/+4
|
* Add test coverage for bug #72969Adam Baratz2017-01-277-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 instanceAdam Baratz2017-01-274-0/+23
|
* style cleanupAdam Baratz2017-01-271-8/+11
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-025-5/+5
|
* Add "Sent SQL" to debug dump for emulated preparesAdam Baratz2016-12-201-0/+5
|
* Remove PDOStatement::activeQueryString()Adam Baratz2016-12-201-5/+0
|
* Merge branch 'PHP-7.1'Adam Baratz2016-12-075-13/+3
|\ | | | | | | | | | | * PHP-7.1: Remove noop param hook Clean up tabs and whitespace
| * Remove noop param hookAdam Baratz2016-12-071-7/+1
| |
| * Clean up tabs and whitespaceAdam Baratz2016-12-074-6/+2
| |
* | Revert "Remove PDOStatement::activeQueryString()"Adam Baratz2016-11-171-0/+5
| | | | | | | | This reverts commit 552c95750052a5c4879a9c67e2f2ec126567222c.
* | Remove PDOStatement::activeQueryString()Adam Baratz2016-11-161-5/+0
| |
* | Add PDOStatement::activeQueryString()Adam Baratz2016-11-151-0/+5
| |
* | Use more accurate types to avoid compiler warningsAdam Baratz2016-10-311-10/+11
| |
* | Fix comment styleAdam Baratz2016-10-311-2/+4
| |
* | Fix #73396: bigint columns are returned as stringsAdam Baratz2016-10-273-4/+34
| |
* | Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h.Adam Baratz2016-10-271-4/+0
| |
* | remove unread varAdam Baratz2016-10-271-2/+1
| |
* | add myself to pdo_dblib CREDITSAdam Baratz2016-10-271-1/+1
|/
* Merge branch 'PHP-7.0' into PHP-7.1Adam Baratz2016-09-261-2/+2
|\ | | | | | | | | | | * PHP-7.0: update NEWS Ignore potentially misleading dberr values
| * Ignore potentially misleading dberr valuesChris Kings-Lynne2016-09-261-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.1Adam Baratz2016-09-211-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: Limit size of result set for test query
| * Limit size of result set for test queryAdam Baratz2016-09-211-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.1Adam Baratz2016-09-212-2/+59
|\ \ | |/ | | | | | | | | * PHP-7.0: update NEWS PHP bug 67130: nextRowset should work with unfetched rows
| * PHP bug 67130: nextRowset should work with unfetched rowsPeter LeBrun2016-09-212-2/+59
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Adam Baratz2016-09-211-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: Move dtor before memory freed to avoid invalid read
| * Move dtor before memory freed to avoid invalid readAdam Baratz2016-09-211-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Adam Baratz2016-09-141-0/+1
|\ \ | |/ | | | | | | * PHP-7.0: Skip test for early TDS versions
| * Skip test for early TDS versionsAdam Baratz2016-09-141-0/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Adam Baratz2016-09-135-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_dblibAdam Baratz2016-09-131-0/+5
| |
| * Free error and message strings when cleaning up PDO instances that use pdo_dblibAdam Baratz2016-09-134-16/+23
| |
| * Add common suiteAdam Baratz2016-09-131-0/+17
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Adam Baratz2016-09-134-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 versionsAdam Baratz2016-09-134-12/+56
| |