Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Adam Baratz
d98da850c4
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Remove noop param hook
Clean up tabs and whitespace
2016-12-07 17:10:36 -05:00
Adam Baratz
5a20d83be8
Remove noop param hook
2016-12-07 17:09:09 -05:00
Adam Baratz
8176fdcb33
Use more accurate types to avoid compiler warnings
2016-10-31 13:15:46 -04:00
Adam Baratz
69b776ec10
Fix comment style
2016-10-31 12:39:22 -04:00
Adam Baratz
0a2c02cb57
Fix #73396 : bigint columns are returned as strings
2016-10-27 13:52:59 -04:00
Adam Baratz
886e721356
Remove unneeded macro check. This "hack" is replicated in php_pdo_dblib_int.h.
2016-10-27 12:15:45 -04:00
Adam Baratz
3d35f0b3b2
remove unread var
2016-10-27 12:15:01 -04:00
Peter LeBrun
dfd6baee0c
PHP bug 67130: nextRowset should work with unfetched rows
2016-09-21 14:27:23 -04:00
Adam Baratz
69eef8c361
Free error and message strings when cleaning up PDO instances that use pdo_dblib
2016-09-13 16:43:30 -04:00
Adam Baratz
91c49c4ab0
Handle SQLDECIMAL/SQLNUMERIC types, which are used by later TDS versions
2016-09-13 16:32:37 -04:00
Alexander Zhuravlev
a000bff2c3
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
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
2016-08-25 19:37:21 +02:00
Adam Baratz
ed3edc2f05
fix bug #71667 (emulate how mssql extension names "computed" columns)
2016-04-06 14:41:55 +02:00
Adam Baratz
1e1500a2bc
return zvals instead of strings, cast or not based on stringify attribute
2016-04-06 12:18:53 +02:00
Adam Baratz
8a92fed532
Add driver-specific attributes for controlling calls to dbsetlogintime() and dbsettime()
2016-04-05 18:18:37 +02:00
Remi Collet
46293ed6d4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix #ifdef usage
2016-03-16 07:18:09 +01:00
Remi Collet
478c807128
fix #ifdef usage
2016-03-16 07:17:49 +01:00
Anatol Belski
56ab4a6096
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed #54648 PDO::MSSQL forces format of datetime fields
2016-02-29 17:07:05 +01:00
Anatol Belski
53c036b30b
Fixed #54648 PDO::MSSQL forces format of datetime fields
...
adopted patch by steven dot lambeth at gmx dot de
2016-02-29 17:04:49 +01:00
Anatol Belski
44c3f1492f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
remove unneeded free parts
2016-02-29 16:30:33 +01:00
Anatol Belski
7816698580
remove unneeded free parts
...
See bug #71667 , free_statement already does the job
2016-02-29 16:26:46 +01:00
Anatol Belski
f806fedd80
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leaks and add one more NULL check
add NULL check
fix C89 compat
fix arg type
2016-02-29 15:48:51 +01:00
Anatol Belski
d7fd614cc6
fix leaks and add one more NULL check
2016-02-29 15:38:42 +01:00
Anatol Belski
a310c3b484
add NULL check
2016-02-29 15:26:57 +01:00
Anatol Belski
35be4398d1
fix arg type
2016-02-29 15:23:53 +01:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Anatol Belski
af8937c056
Merge branch 'PHP-5.6' into PHP-7.0
...
* 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
2015-10-18 11:28:57 +02:00
Anatol Belski
7f33ab834d
C89 compat
2015-10-18 11:14:30 +02:00
MiRacLe.RPZ
2b5af600e3
use spprintf instead (no need to estrdup afterwards).
2015-10-18 11:10:50 +02:00
MiRacLe.RPZ
5c19355095
dblib's dbcolname can return null in some cases
2015-10-18 11:10:45 +02:00
MiRacLe.RPZ
acb2368976
Segmentation fault on pdo_dblib::nextRowset (bug #69757 )
2015-10-18 11:10:34 +02:00
Dmitry Stogov
70c86732cb
Use zend_string to represent pdo_column_data.name and avoid duplication.
2015-05-05 16:19:51 +03:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Stanley Sufficool
83144a7281
Fixed bug #64511 - pdo_dblib segfaults or leaks on nextRowset()
2014-10-22 20:13:22 -07:00
Stanley Sufficool
09cf64678a
Fix bug #67134 (PDO_DBLIB Missing null string terminator)
2014-10-20 21:44:47 -07:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
4ed156d4df
ported from pdo - pgsql, odbc, mysql, firebirt, dblib
2014-08-19 19:02:07 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Stanley Sufficool
5a04ab9a54
Fix PDO_DBLIB bugs: #64338 , #64808 , #63638
...
Synchronize with master
2013-06-03 20:02:08 -07:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
d080277d97
- Fixed bug #60033 (Incorrectly merged PDO dblib patches break uniqueidentifier column type)
2011-10-12 01:24:51 +00:00
Felipe Pena
6ba343aeff
- Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field)
...
# initial patch by: mjh at hodginsmedia dot com (5.3)
# trunk version by me
2011-03-05 23:07:45 +00:00