Commit graph

169 commits

Author SHA1 Message Date
Jenny Tam a570522863
Reset sql type and column size for input params that were bound as nulls (#1333) 2021-11-22 13:59:32 -08:00
George J. Carrette 8de09789af
adjust sql_data_type and column_size for NULL parameters (#1311)
Fix for #1310 - Co-authored-by: George Carrette <gcarrette@wayfair.com>
2021-10-20 09:27:13 -07:00
Jenny Tam 36d2704c0a
Added TVP support to non-procedure statements (#1309) 2021-09-29 12:27:52 -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 277872619e
Replaced vector with map for TVP constituent columns (#1281) 2021-07-19 15:54:59 -07:00
Jenny Tam b3b2acea8f
Fix warning compiling core_stmt.cpp (#1275) (#1277)
converting to non-pointer type 'long int' from NULL

Co-authored-by: Michele Locati <michele@locati.it>
2021-07-05 14:19:29 -07:00
Jenny Tam c91fe5c42b
Replaced ZVAL_NEW_ARR with array_init (#1267) 2021-06-09 13:00:04 -07:00
Jenny Tam af61d06bfb
Simplified get_field_as_string and made it more robust (#1265) 2021-06-08 12:37:28 -07:00
Jenny Tam a14cb70ad3
Changed how schema is provided for TVP input (#1264) 2021-06-02 12:16:51 -07:00
Jenny Tam 0da75f5b92
Implemented table-valued parameter support (#1257) 2021-05-25 15:36:01 -07:00
Jenny Tam 5f2a14c8e9
Cleaned up redundant code (#1260) 2021-05-18 16:56:49 -07:00
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