Граф коммитов

627 Коммитов

Автор SHA1 Сообщение Дата
Sicong e253bcdee5
Update changelog and version.h for 5.12.0 (#1502)
* Update changelog and version.h for 5.12.0

* Update change log
2024-01-30 15:41:07 -08:00
Michael Sun 09c53ef136
Fix invalid precision error (#1497)
* Set preview for beta release (#1430)

* Fix invalid percision error

* add a end of file for added test

* fix the test case

* remove sql type reset logic

---------

Co-authored-by: Sicong <jiasicong@gmail.com>
2024-01-22 13:34:06 -08:00
Sicong 41ac12667a
Update tests and build tools for 5.12-beta1 release (#1492)
* Update tests and build tools

* Update for 5.12-beta1 release
2023-12-06 13:45:56 -08:00
Sicong 24d72cba24
Fix error throw for multiple result sets (#1485) 2023-11-30 16:52:59 -08:00
Sicong 9932512626
Update connection string keywords set function (#1484)
* Update connection string keywords set function

* Update encrypt unit test
2023-10-05 14:41:20 -07:00
Sicong bf2ca1fba1
Merge pull request #1483 from microsoft/sync_dev
Sync dev with servicing branch
2023-10-05 14:40:51 -07:00
Sicong e74abf5188
Add flags accroding to BinSkim analyze (#1476) 2023-10-04 15:36:10 -07:00
Sicong 656c4b30c0 Prepare for 5.11.1 release (#1475) 2023-09-25 21:22:47 +00:00
Sicong 97aa5b57b5 Remove if directives for PDO_ATTR_STRINGIFY_FETCHES 2023-09-25 21:20:58 +00:00
v-makouz 5a6a9a6ffe
Bugfix for 1465 (#1471)
Adding a NULL check to prevent SEEGFAULT when parameter parsing fails
2023-08-11 17:28:36 -07:00
Sicong abe4471877
Refactor format_or_get_all_errors function (#1467) 2023-08-09 10:50:13 -07:00
Sicong 79d4b386bd
Change connection options to case insensitive (#1460) 2023-08-09 10:49:37 -07:00
Sicong 9debf7d370
Add deprecation message about ODBC13 (#1456)
* Add deprecation message about ODBC13
2023-08-09 10:47:17 -07:00
Saki Takamachi c648cafa29
Fixed error when using PDO::ATTR_STRINGIFY_FETCHES (#1468)
* fix accept PDO_ATTR_STRINGIFY_FETCHES to set_attr on after 8.1.22 and after 8.2.9 php version

* try to put it back

* fix accept PDO_ATTR_STRINGIFY_FETCHES to set_attr on after 8.1.22 and after 8.2.9 php version
2023-08-09 10:23:58 -07:00
Sicong d79a62a85c
Reset type after bind param (#1452)
* Reset type after bind param

Keep the same behavior as 5.9
Issue #1448

* Add unit test, skip for decimal format

* Add unit test, skip for decimal format

* Update unit test
2023-05-12 10:54:27 -07:00
Sicong 3cd248fba8
Update version to 5.11.0 (#1444) 2023-02-28 13:42:04 -08:00
Sicong 11509df4d3
CodeQL warnings fix (#1439) 2023-02-27 15:01:16 -08:00
Sicong d1980d3570
Set preview for beta release (#1429) 2023-01-27 11:31:35 -08:00
Sicong d35c2b0f1b
Update minor version (#1426) 2023-01-25 11:36:17 -08:00
Sicong 04266af58c
Update changelog and version number (#1425) 2023-01-25 10:14:40 -08:00
Sicong 35bf2a6bbd
Fix invalid precision value error 2023-01-20 14:38:37 -08:00
Sicong 15d25ceb76
Fix right truncation issue and add unit test (#1408)
* Reset column size

* Fix clientInfo related test cases (#1407)

* Create pdo_1391_string_truncation_after_short_string.phpt

Regresssion tests: Use the same Statement to insert a row with short strings first, and longer strings second.

- Issue also happens with VARCHAR( >=4002 ). Not just Max or NVARCHAR
- Issues 1391, 1393 (and possibly 1371 ?) might all have the same root cause.

* fetchAll() -> fetch(), we only want 1 row.

* Revert trigger

Co-authored-by: Maarten S <42799774+talkinnl@users.noreply.github.com>
2022-09-13 13:30:58 -07:00
Sicong 109b8bcbc6
Update change log and version for 5.10.1 (#1389) 2022-05-12 16:29:34 -07:00
Sicong 8628c28541
Add ActiveDirectoryIntegrated authentication (#1382) 2022-05-09 12:16:02 -07:00
SAEKI Yoshiyasu a11822b154
Fixed ActiveDirectoryMsi Authentication behavior when specified UID (#1374)
* ActiveDirectoryMsi uid-specified support
2022-03-18 14:49:32 -07:00
Jenny Tam 0c10bb956b
Update change log and version for 5.10 RTW (#1352) 2022-01-12 11:20:10 -08:00
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 c9a5e8eeaa
Replaced ODBC Driver 11 with 18 (#1347) 2021-12-21 17:04:17 -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 1a45ee10e2
5.10 beta2 version bump and change log (#1337) 2021-11-29 17:25:16 -08:00
Jenny Tam cbfc7638e2
Let ODBC driver verify azure ad authentications (#1326) 2021-11-23 12:52:08 -08:00
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