Commit graph

97 commits

Author SHA1 Message Date
Jenny Tam 34e20db69d
Added HostNameInCertificate (#1350) 2022-01-05 08:59:48 -08:00
Jenny Tam e2dd5137a4
Simple fixes after static analyses (#1348) 2022-01-04 12:22:14 -08:00
Jenny Tam c395539132
Added ComputePool (#1342) 2021-12-07 15:29:03 -08:00
yitam dad6e4c245 Update how PHP drivers handle Encrypt keyword 2021-12-06 16:40:41 -08:00
Jenny Tam 14aa44933d
Changed return value for PDO::lastInsertId for 8.1+ (#1332) 2021-11-18 16:38:19 -08:00
mpyw f52fb48335
Fix restoring PDO::ATTR_ERRMODE after PDO::lastInsertId() call failed (#1330) 2021-11-18 08:14:55 -08:00
Jenny Tam 3826f1a522
PDO::ATTR_EMULATE_PREPARES at the connection level (#1324) 2021-11-02 08:12:09 -07:00
Jenny Tam 142ca11b64
Update change log and version for 5.10.0 beta1 (#1294) 2021-09-07 17:38:17 -07:00
Jenny Tam 610f54c5f9
Fixed snprintf for binary encoding and EOLs (#1293) 2021-09-07 11:04:53 -07:00
Jenny Tam fffd63f3c7
Applied mask to pdo quote for binary inputs (#1288) 2021-08-13 10:57:19 -07:00
Jenny Tam 5e607a802c
PHP 8.1 dev (#1282) 2021-07-28 15:45:04 -07:00
Jenny Tam 5f2a14c8e9
Cleaned up redundant code (#1260) 2021-05-18 16:56:49 -07:00
Jenny Tam 7313fa0c8b
Updated pdo_sqlsrv_get_driver_methods as per documentation (#1259) 2021-05-17 17:37:19 -07:00
Jenny Tam e57d5aab46
Simplified pdo quote and lastinsertid implementation further (#1254) 2021-05-05 18:21:16 -07:00
Jenny Tam 7fad440fa1
Simplified implementations of last insert id and quote (#1251) 2021-04-29 13:41:29 -07:00
Sergei Morozov fcd7b64a4b
Use lower-case object names in PDO::lastInsertId($name) (#1245) 2021-03-31 13:24:19 -07:00
Jenny Tam 20f7a13ef0
Minor changes for PHP 8.0 RC2 (#1204) 2020-10-14 19:38:33 -07:00
Jenny Tam 7f9f3ddea0
Change version 5.9.0-preview1 (#1189) 2020-09-15 14:25:04 -07:00
Jenny Tam 460d9aa2df
Removed wrappers for Zend APIs (#1161) 2020-07-23 13:46:25 -07:00
Jenny Tam 1aca278245
Remicollet issue tsrmls (#1130) 2020-04-20 15:17:21 -07:00
Jenny Tam 7214e8d553
Set logger for driver API (#1107) 2020-03-25 09:53:18 -07:00
Jenny Tam ba05b247bf
Updated versions and year (#1082) 2020-01-23 11:55:33 -08:00
Jenny Tam 6a7136d977
Feature request: support extended string types (#1043) 2019-10-23 15:12:52 -07:00
Jenny Tam 255752066d
Modified how drivers handle query timeout settings (#1037) 2019-09-18 07:49:14 -07:00
Jenny Tam 2792ece85d
Updated version to 5.7.0 preview (#1029) 2019-09-03 12:43:10 -07:00
David Puglielli 1a2b49393c
Fixed for issues found by Semmle (#1011)
* Removed unneeded constants

* Fixed sqlsrv_free_stmt argument info

* Fixed brace escape to avoid buffer overflow

* Fixed brace escape and added test

* Debugging test failure on Bamboo

* Removed debugging output

* Debugging test failure on Bamboo

* Removed debugging output

* Added more test cases

* Changed range check to use strchr

* Added pdo test

* Fixed test and formatting
2019-07-23 15:12:55 -07:00
Jenny Tam 9e90a42d1b
Data Classification sensitivity metadata retrieval (#979) 2019-05-01 08:03:33 -07:00
Guillaume Degoulet 5b2b7504da add Language option on connect 2019-02-13 13:56:12 +01:00
Jenny Tam d6c8cc2e15
Changed version 5.6.0 (#918) 2019-01-16 10:19:01 -08:00
Jannes Jeising 4efb54e45a Enable compiling extensions statically into PHP (#904) 2018-12-20 11:49:06 -08:00
Jenny Tam ae29f73aee
Version update for 5.5.0-preview (#889) 2018-11-29 08:54:45 -08:00
Jenny Tam 76c595fc2b
Decimal places for money types only (#886) 2018-11-27 17:18:38 -08:00
Jenny Tam f4ad2ae1d4
Feature request 415 for pdo_sqlsrv (#873) 2018-11-02 14:34:27 -07:00
Jenny Tam 88dfea339a
Updated version 5.4.0-preview (#846)
* Updated version 5.4.0-preview

* Replaced 5.3 with 5.4
2018-09-18 08:20:43 -07:00
Jenny Tam 7521f095ee
Feature request - new PDO_STMT_OPTION_FETCHES_DATETIME_TYPE flag for pdo_sqlsrv to return datetime as objects (#842)
* Feature request - issue 648

* Fixed constructor for field_cache and added another test

* Added tests for FETCH_BOUND

* Added a new test for output param

* Modified output param test to set attributes differently

* Removed a useless helped function in a test

* Combined two new tests into one as per review

* Uncommented dropTable
2018-09-17 16:24:52 -07:00
Jenny Tam e51380612d
Adding supporting for Azure AD access token (#837)
* Adding supporting for Azure AD access token

* Added more comments for the AD access token skipif files

* Save the pointer to access token struct until after connecting

* Clear the access token data before freeing the memory

* Added a reference as per review
2018-09-06 11:32:04 -07:00
Jenny Tam 084ab72406
Incorporated changes in PR 634 to pdo_sqlsrv (#834)
* Incorporated changes in PR 634 to pdo_sqlsrv

* Reverted the changes because the array is for internal use only
2018-08-28 15:18:01 -07:00
David Puglielli d699680cd4
Merge pull request #826 from david-puglielli/string-initialisation-nulls
Fix for compilation problem
2018-08-01 14:36:20 -07:00
David Puglielli 29f4ad710b Fix for compilation problem 2018-08-01 13:24:20 -07:00
David Puglielli 026c5d14d3
Merge pull request #825 from david-puglielli/string-initialisation-nulls
String initialisation to nulls
2018-07-31 18:28:57 -07:00
David Puglielli 41a7caf1c1 Made array index spacing consistent 2018-07-31 17:22:56 -07:00
David Puglielli a664a5fcf9 Removed some spaces 2018-07-31 14:58:21 -07:00
David Puglielli adf86f17ae Initialising strings with nulls 2018-07-31 13:16:32 -07:00
Jenny Tam b6d815bfc9
Changes made to source and tests to support PHP 7.3 (#822)
* Changes made to support php 7.3

* Correct use of the smart pointer

* Fixed the tests for 7.3

* Some clean up for array_init()

* Fixed formattings and clean up
2018-07-26 15:21:03 -07:00
Jenny Tam 197489ab4f
Version 5.3.0 (#803)
* Version 5.3.0

* Fixed the wrong replacements

* Added comments block to m4 files

* Use dnl for comments
2018-06-27 11:03:52 -07:00
Jenny Tam 81ff0851ea
Removed win32 ifdefs re connection resiliency (#802) 2018-06-21 14:29:09 -07:00
Jenny Tam 10ff344fca Fixed the potential error reported by Prefast code analysis 2018-06-05 13:09:51 -07:00
David Puglielli 977e5309dd Support for Azure Key Vault 2018-05-05 17:08:01 -07:00
Jenny Tam 93b9938e02 Replace most strlen with strnlen_s 2018-04-13 15:06:10 -07:00
Jenny Tam 812db3da38 Increase LAST_INSERT_ID_BUFF_LEN for other data types for identity columns 2018-04-06 11:35:32 -07:00