Commit graph

1060 commits

Author SHA1 Message Date
absci 86e3fbf466 Remove test that expect an invalid driver error
appveyor have ODBC 13 installed on their test agent
2023-01-24 13:22:32 -08:00
absci ffafa43095 Slience warning to test 2023-01-23 16:24:43 -08:00
Sicong 2c606fe5d2
Update pdo_azure_ad_managed_identity.phpt 2023-01-23 12:24:11 -08:00
Sicong c72e0eb166
Check null for stripos to avoid deprecated warning 2023-01-18 17:41:39 -08:00
v-makouz 36b48f02c1 Fix more deprecated issues 2022-12-15 15:20:30 -08:00
v-makouz a5c7069b2e Merge branch 'dev' into php_8.2_tests 2022-12-13 10:12:02 -08:00
v-makouz fd8457cd55 Fix for utf8 test 2022-12-09 13:20:31 -08:00
v-makouz f764dc80ce fix for callable deprecation 2022-12-08 13:59:34 -08:00
v-makouz 93802526c0 Some PDO test fixes 2022-12-08 10:16:14 -08:00
v-makouz efd594b8cf Some test fixes for 8.2 2022-12-05 10:48:34 -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 4974fe4334
Update bvt tests for PHP 8.2 (#1409) 2022-09-13 11:17:57 -07:00
Sicong ed96718152
Print error messages for managed identity test (#1392)
* Print error messages for managed identity test

* Skip appveyor MSI tests

* Skip msi tests for unix
2022-09-12 10:15:04 -07:00
Sicong e2c15977ef
Fix clientInfo related test cases (#1407) 2022-08-29 18:48:04 -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 00470ccd12
Modified locale tests for issue 1063 (#1363) 2022-01-24 18:28:05 -08:00
Jenny Tam 34e20db69d
Added HostNameInCertificate (#1350) 2022-01-05 08:59:48 -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 84e7d67aec Made the tests more robust 2021-12-06 18:01:03 -08:00
yitam dad6e4c245 Update how PHP drivers handle Encrypt keyword 2021-12-06 16:40:41 -08:00
Jenny Tam 7f9099a35d
Fixed emulate prepare test to run with always encrypted enabled (#1336) 2021-11-29 15:17:08 -08:00
Jenny Tam 64d96e6d18
Test emulate prepare binary encoding with extended chars (#1334) 2021-11-23 17:50:26 -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
Jenny Tam e3042e1ed4
Added new test cases for Issue 1310 (#1321) 2021-10-27 11:07:33 -07:00
Jenny Tam 608a08005c
Simplified a skipif file for checking tcp protocol (#1317) 2021-10-19 11:36:53 -07:00
Jenny Tam 36d2704c0a
Added TVP support to non-procedure statements (#1309) 2021-09-29 12:27:52 -07:00
Jenny Tam c87af63d57
Updated tests to run against AE v2 server (#1305) 2021-09-22 09:40:57 -07:00
Jenny Tam 48b6a6013f
Fixed a flawed emulate prepare test with AE (#1301) 2021-09-14 17:36:35 -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 f66b2c3e8a
Updated list of supported processor architecture (#1290) 2021-08-27 09:29:16 -07:00
Jenny Tam 9eef0b946c
Fixed the helper method for inserting nulls to binary fields (#1287) 2021-08-12 08:05:48 -07:00
Jenny Tam 656767aa16
Replaced strftime with IntlDateFormatter (#1286) 2021-08-10 15:27:39 -07:00
Jenny Tam fd48bcbf69
Made some tests more robust and work with PHP 8.1 (#1285) 2021-07-30 17:00:33 -07:00
Jenny Tam 5e607a802c
PHP 8.1 dev (#1282) 2021-07-28 15:45:04 -07:00
Jenny Tam 9f6ef12076
Modified existing PDO tests for PHP 8.0+ (#1279) 2021-07-09 11:08:52 -07:00
Jenny Tam 66b7ced5f9
Updated BVT tests to test against only one database (#1273) 2021-06-25 17:41:31 -07:00
Jenny Tam d255591633
Fixed build script and failing tests (#1268) 2021-06-10 17:59:08 -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 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