summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Adam Baratz2016-09-132-4/+33
|\ \ | |/ | | | | | | * PHP-7.0: Allow \PDO::setAttribute() to set pdo_dblib query timeouts
| * Allow \PDO::setAttribute() to set pdo_dblib query timeoutsAdam Baratz2016-09-132-4/+33
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Adam Baratz2016-09-122-38/+14
|\ \ | |/ | | | | | | * PHP-7.0: Never quote values as raw binary data
| * Never quote values as raw binary dataAdam Baratz2016-09-122-38/+14
| | | | | | | | | | | | | | This reverts a1a18fca6e2a1690ea113dc2ebe0e7d22fdc71a0 which was intended to fix bug #52885. That commit introduced a BC break which wasn't universally desirable. The issue of quoting binary data (or NVARCHAR strings, or other nonstandard types) will have to be addressed separately.
* | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2016-09-051-0/+6
|\ \ | |/ | | | | | | * PHP-7.0: Recognize TDS versions 7.3 and 7.4
| * Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-09-051-0/+6
| |\ | | | | | | | | | | | | * PHP-5.6: Recognize TDS versions 7.3 and 7.4
| | * Merge branch 'pull-request/2061' into PHP-5.6Stanislav Malyshev2016-09-051-0/+6
| | |\ | | | | | | | | | | | | | | | | * pull-request/2061: Recognize TDS versions 7.3 and 7.4
| | | * Recognize TDS versions 7.3 and 7.4Lior Kaplan2016-08-071-0/+6
| | | |
* | | | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2016-09-051-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.0: Use integer placeholders, since values can vary with the TDS version
| * | | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-09-051-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.6: Use integer placeholders, since values can vary with the TDS version
| | * | Use integer placeholders, since values can vary with the TDS versionAdam Baratz2016-09-051-3/+3
| | |/
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2016-08-255-16/+112
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.0: update NEWS pdo_dblib: stringify uniqidentifier field
| * | pdo_dblib: stringify uniqidentifier fieldAlexander Zhuravlev2016-08-255-16/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep old 5.6 behavior: return Uniqidentifier value as 36-byte hex string (not binary), when PDO::ATTR_STRINGIFY_FETCHES is TRUE pdo_dblib: Stringify uniqidentifier field Keep old 5.6 behavior: return Uniqidentifier value as 36-byte hex string (not binary), when PDO::ATTR_STRINGIFY_FETCHES is TRUE Tests added. pdo_dblib: Stringify uniqidentifier field Keep old 5.6 behavior: return Uniqidentifier value as 36-byte hex string (not binary), when PDO::ATTR_STRINGIFY_FETCHES is TRUE Tests fix. pdo_dblib: Stringify uniqueidentifier field Added separate PDO::DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER attribute instead of PDO::ATTR_STRINGIFY_FETCHES. pdo_dblib: Stringify uniqueidentifier field Added `getAttribute` support for PDO::DBLIB_ATTR_STRINGIFY_UNIQUEIDENTIFIER. Simplify storage of stringify_uniqueidentifier attribute
* | | Merge branch 'PHP-7.0'Julien Pauli2016-07-081-6/+6
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Correct for connection with PDO::ATTR_STRINGIFY_FETCHES set to false
| * | Correct for connection with PDO::ATTR_STRINGIFY_FETCHES set to falseAdam Baratz2016-07-081-6/+6
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-07-051-1/+1
|\ \ \ | |/ /
| * | Use size_t instead of int for loop counterAdam Baratz2016-07-051-1/+1
| | |
* | | Merge branch 'PHP-7.0'Anatol Belski2016-04-065-6/+52
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.0: fix test fix bug #71667 (emulate how mssql extension names "computed" columns)
| * | fix testAnatol Belski2016-04-061-1/+1
| | |
| * | fix bug #71667 (emulate how mssql extension names "computed" columns)Adam Baratz2016-04-064-5/+51
| | |
* | | Merge branch 'PHP-7.0'Anatol Belski2016-04-065-75/+239
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: return zvals instead of strings, cast or not based on stringify attribute
| * | return zvals instead of strings, cast or not based on stringify attributeAdam Baratz2016-04-065-75/+239
| | |
* | | Merge branch 'PHP-7.0'Anatol Belski2016-04-062-3/+4
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.0: fix test add skip slow test
| * | fix testAnatol Belski2016-04-061-2/+6
| | |
| * | add skip slow testAnatol Belski2016-04-061-0/+1
| | |
| * | Add driver-specific attributes for controlling calls to dbsetlogintime() and ↵Adam Baratz2016-04-055-2/+90
| | | | | | | | | | | | dbsettime()
* | | Add driver-specific attributes for controlling calls to dbsetlogintime() and ↵Adam Baratz2016-04-055-2/+90
| | | | | | | | | | | | dbsettime()
* | | Merge branch 'PHP-7.0'Anatol Belski2016-04-042-2/+26
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Fix #71943: dblib_handle_quoter needs to allocate an extra byte
| * | Fix #71943: dblib_handle_quoter needs to allocate an extra byteAdam Baratz2016-04-042-2/+26
| | |
* | | Merge branch 'PHP-7.0'Remi Collet2016-03-161-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: fix #ifdef usage
| * | Merge branch 'PHP-5.6' into PHP-7.0Remi Collet2016-03-161-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: fix #ifdef usage
| | * fix #ifdef usageRemi Collet2016-03-161-1/+1
| | |
* | | Merge branch 'PHP-7.0'Nikita Popov2016-03-031-1/+1
|\ \ \ | |/ /
| * | Fix bug #71575 removing extra semicolons outside macrosJames Titcumb2016-03-031-1/+1
| | |