Commit graph

594 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
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
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 610f54c5f9
Fixed snprintf for binary encoding and EOLs (#1293) 2021-09-07 11:04:53 -07:00
Jenny Tam f66b2c3e8a
Updated list of supported processor architecture (#1290) 2021-08-27 09:29:16 -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 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 b49cb5106f
Simplified parse_param_array in sqlsrv (#1262) 2021-05-27 13:15:40 -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 7313fa0c8b
Updated pdo_sqlsrv_get_driver_methods as per documentation (#1259) 2021-05-17 17:37:19 -07:00
Jenny Tam 3bc0624dad
Refactored parameter processing and handling (#1239) 2021-05-10 16:33:14 -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 3da84185c1
Moved metadata cleanup to parent class (#1233) 2021-02-04 20:03:46 -08:00
Jenny Tam 6d2b93881f
Changed keyword to ActiveDirectoryServicePrincipal (#1229) 2021-01-15 10:02:35 -08:00
Jenny Tam 7b961b0028
Updated version, change log and installation instructions for 5.9.0 (#1228) 2021-01-14 15:37:44 -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 61f3403d79
Updated linux and mac instructions and dropped 7.2 (#1220)
Also corrected versions in version.h
2020-11-30 17:40:22 -08:00
Jenny Tam 3cf753bc73 Fixed typos 2020-11-30 11:19:06 -08:00
Jenny Tam 033788bc53 Update change log and version for 5.9.0 beta 2 2020-11-30 11:12:36 -08:00
Jenny Tam f59f0bcce7 Removed MACOSX_DEPLOYMENT_TARGET 2020-11-25 17:05:38 -08:00
Jenny Tam 6b1923cde2 Fixed buffer length when fetching binary fields as streams 2020-10-23 13:13:29 -07:00
Jenny Tam dff66a7982 Removed assert and added a new test 2020-10-21 18:28:46 -07:00
Jenny Tam 44dab5a378 Fixed a bug in reading varbinary max fields 2020-10-19 17:17:23 -07:00
Jenny Tam 537ae2d27d
Minimized warnings during compilation (#1205) 2020-10-16 15:17:58 -07:00
Jenny Tam 20f7a13ef0
Minor changes for PHP 8.0 RC2 (#1204) 2020-10-14 19:38:33 -07:00
Jenny Tam 142629a1cf
Added new authentication keyword to support AAD Service Principal (#1199) 2020-10-08 12:30:04 -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 0735c06f05
Used size of integers for rank field instead (#1187)
long is 64 bits on Linux and the data sent back from server will always be 32 bits for ranks
2020-09-03 14:55:13 -07:00
Jenny Tam 86adf470cb
Added rank info to sensitivity classification (#1183) 2020-09-02 10:39:54 -07:00
Jenny Tam f2cae4c34f
zend_list_close() returns void starting in php 8 beta3 (#1184) 2020-09-01 16:54:26 -07:00
Jenny Tam 9f1f27ec79
Updated zend api calls for php 8 beta2 (#1181) 2020-08-19 10:51:32 -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