summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/dblib_stmt.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [-Wundef] warning in PDO DBLib extensionGeorge Peter Banyard2020-05-201-1/+1
|
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove year range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* year++Xinchen Hui2018-01-021-1/+1
|
* Turn "pdo_stmt_methods" into constants.Dmitry Stogov2017-12-141-1/+1
|
* Treat DATETIME2 columns like DATETIMEfandrieu2017-11-101-0/+6
|
* More robust handling of stringified column dataAdam Baratz2017-11-101-19/+46
| | | | | | | - 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
* Fix #74243: allow locales.conf to drive datetime formatfandrieu2017-10-311-27/+52
| | | | 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-171-3/+12
| | | | | | | | | | | | | 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.
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'PHP-7.1'Adam Baratz2016-12-071-7/+1
|\ | | | | | | | | | | * PHP-7.1: Remove noop param hook Clean up tabs and whitespace
| * Remove noop param hookAdam Baratz2016-12-071-7/+1
| |
* | 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-271-4/+13
| |
* | 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
|/
* PHP bug 67130: nextRowset should work with unfetched rowsPeter LeBrun2016-09-211-2/+23
|
* Free error and message strings when cleaning up PDO instances that use pdo_dblibAdam Baratz2016-09-131-16/+0
|
* Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versionsAdam Baratz2016-09-131-7/+10
|
* pdo_dblib: stringify uniqidentifier fieldAlexander Zhuravlev2016-08-251-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix bug #71667 (emulate how mssql extension names "computed" columns)Adam Baratz2016-04-061-5/+15
|
* return zvals instead of strings, cast or not based on stringify attributeAdam Baratz2016-04-061-66/+164
|
* Add driver-specific attributes for controlling calls to dbsetlogintime() and ↵Adam Baratz2016-04-051-0/+20
| | | | dbsettime()
* 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-5.6' into PHP-7.0Anatol Belski2016-02-291-0/+19
|\ \ | |/ | | | | | | * PHP-5.6: Fixed #54648 PDO::MSSQL forces format of datetime fields
| * Fixed #54648 PDO::MSSQL forces format of datetime fieldsAnatol Belski2016-02-291-0/+19
| | | | | | | | adopted patch by steven dot lambeth at gmx dot de
* | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-02-291-22/+0
|\ \ | |/ | | | | | | * PHP-5.6: remove unneeded free parts
| * remove unneeded free partsAnatol Belski2016-02-291-22/+0
| | | | | | | | See bug #71667, free_statement already does the job
* | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-02-291-0/+22
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: fix leaks and add one more NULL check add NULL check fix C89 compat fix arg type
| * fix leaks and add one more NULL checkAnatol Belski2016-02-291-3/+17
| |
| * add NULL checkAnatol Belski2016-02-291-2/+4
| |
| * fix arg typeAnatol Belski2016-02-291-1/+1
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2015-10-181-4/+14
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * PHP-5.6: C89 compat use spprintf instead (no need to estrdup afterwards). dblib's dbcolname can return null in some cases testcase fot bug #69757 Segmentation fault on pdo_dblib::nextRowset (bug #69757) Conflicts: ext/pdo_dblib/dblib_stmt.c
| * C89 compatAnatol Belski2015-10-181-3/+4
| |
| * use spprintf instead (no need to estrdup afterwards).MiRacLe.RPZ2015-10-181-4/+3
| |
| * dblib's dbcolname can return null in some casesMiRacLe.RPZ2015-10-181-1/+1
| |
| * Segmentation fault on pdo_dblib::nextRowset (bug #69757)MiRacLe.RPZ2015-10-181-2/+9
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | Use zend_string to represent pdo_column_data.name and avoid duplication.Dmitry Stogov2015-05-051-4/+5
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-40/+40
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-13/+13
| |
* | Fixed bug #64511 - pdo_dblib segfaults or leaks on nextRowset()Stanley Sufficool2014-10-221-12/+6
| |
* | Fix bug #67134 (PDO_DBLIB Missing null string terminator)Stanley Sufficool2014-10-201-3/+2
| |