Commit graph

158 commits

Author SHA1 Message Date
Jenny Tam 3bc0624dad
Refactored parameter processing and handling (#1239) 2021-05-10 16:33:14 -07:00
Jenny Tam 3da84185c1
Moved metadata cleanup to parent class (#1233) 2021-02-04 20:03:46 -08:00
Jenny Tam 7afe00d23a
Addressed static code analyis issues (prefast) (#1227) 2021-01-04 18:28:07 -08:00
Jenny Tam 53aaab847c
Replaced problematic strlen if possible (#1226) 2020-12-23 19:23:06 -08:00
Jenny Tam 537ae2d27d
Minimized warnings during compilation (#1205) 2020-10-16 15:17:58 -07:00
Jenny Tam ec60302825
Updated drivers and tests to support PHP 8.0.0 RC1 (#1194) 2020-09-29 17:53:58 -07:00
Jenny Tam 7f9f3ddea0
Change version 5.9.0-preview1 (#1189) 2020-09-15 14:25:04 -07:00
Jenny Tam 86adf470cb
Added rank info to sensitivity classification (#1183) 2020-09-02 10:39:54 -07:00
Jenny Tam 402403e754
Allowed fetching numerics as binaries (#1180) 2020-08-14 16:37:54 -07:00
Jenny Tam 6349d06fee
Further reverted changes to distinguish datetime fields (#1178) 2020-08-12 17:24:39 -07:00
Jenny Tam f02aefd6bd
Reverted the use of octet length and fixed tests (#1176) 2020-08-11 17:09:26 -07:00
Jenny Tam 284aca85ce
Updated checks to distinguish smalldatetime, datetime and datetime2 fields (#1175) 2020-08-07 18:33:12 -07:00
Jenny Tam 9365fc5201
Added insertion tests for encrypted smalldatetime and datetime columns (#1174) 2020-08-07 09:42:57 -07:00
Jenny Tam 9fc32baf69
Fixed get_field_as_string when using display size for large types (#1172) 2020-08-06 09:46:15 -07:00
Jenny Tam 6aa6c07681
Added tests to fetch empty strings with wrong php types (#1169) 2020-07-30 13:58:50 -07:00
Jenny Tam e1e0108b1f
Dropped the use of LOCK TIMEOUT (#1165) 2020-07-23 16:07:41 -07:00
Jenny Tam 460d9aa2df
Removed wrappers for Zend APIs (#1161) 2020-07-23 13:46:25 -07:00
Jenny Tam 92f796c07a
Modified source files based on some static analysis tools (#1155) 2020-07-14 17:22:46 -07:00
Jenny Tam d5e1d8cfbc
Binding integers as output parameters with correct C types (#1144) 2020-06-23 13:52:50 -07:00
Jenny Tam d4a29fe332
Check exception when finalizing output parameters (#1143) 2020-06-22 15:42:32 -07:00
Jenny Tam f45f25745f
Conversion is unnecessary for numeric parameters (#1136) 2020-06-19 14:45:13 -07:00
Jenny Tam 1aca278245
Remicollet issue tsrmls (#1130) 2020-04-20 15:17:21 -07:00
Jenny Tam af3097d5cf
Removed the use of a conversion matrix (#1095) 2020-02-19 14:27:36 -08:00
Jenny Tam ba05b247bf
Updated versions and year (#1082) 2020-01-23 11:55:33 -08:00
David Puglielli eeec2f838d
Fixes suggested by Semmle (#1068)
* Fixes suggested by Semmle

* Updated azure-pipelines
2019-12-17 16:25:57 -08:00
Jenny Tam b77bfa82f4
Saved php types with metadata when fetching (#1049) 2019-11-06 13:14:28 -08: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
Jenny Tam 65daa7a481
Addressed various issues with PHP 7.4 beta1 (#1015) 2019-07-29 08:02:50 -07:00
Jenny Tam b839ede878
Improve data caching with datetime objects (#1008) 2019-07-15 14:21:54 -07:00
Jenny Tam ac59cfd56a
Redesigned some tests based on recent test results (#992) 2019-05-17 11:36:24 -07:00
Jenny Tam ffd9849750
Fixed memory issues with data classification (#985) 2019-05-08 15:18:15 -07:00
Jenny Tam 9e90a42d1b
Data Classification sensitivity metadata retrieval (#979) 2019-05-01 08:03:33 -07:00
David Puglielli ad1d990cda Addressed review comments 2019-04-15 13:48:48 -07:00
David Puglielli 62738bacf3 Addressed review comments 2019-04-12 20:49:03 -07:00
David Puglielli 4b6b650db1 Added row and column count checks 2019-04-05 12:34:33 -07:00
Jenny Tam d6c8cc2e15
Changed version 5.6.0 (#918) 2019-01-16 10:19:01 -08:00
Jenny Tam d4f840f630
Initialize output param buffer when allocating extra space (#907) 2018-12-17 12:25:37 -08:00
David Puglielli 2f92a262dc Improve performance of Unicode conversions (#891) 2018-12-04 13:00:34 -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 b3072a99ee
Modified how to send stream data using SQLPutData and SQLParamData (#865) 2018-10-19 14:48:21 -07:00
Jenny Tam 18094a6cef
Feature request 415 for sqlsrv (#861) 2018-10-12 15:22:27 -07:00
Jenny Tam b523306919
Save meta data for the fetched result set (#855)
* Save meta data on fetched result sets

* Fixed a compilation error

* Optimized some more -- metadata should be available when fetching

* Skip conversion for strings of numeric values, integers, floats, decimals etc

* Set encoding char for numeric data

* Apply review
2018-10-05 15:01:18 -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 902a03263e
Feature request - add ReturnDatesAsStrings option to statement level for sqlsrv (#844)
* Added ReturnDatesAsStrings option to the statement level

* Added new tests for ReturnDatesAsStrings at statement level

* Added more datetime types as per review
2018-09-17 16:25:02 -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
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