Jenny Tam
76c595fc2b
Decimal places for money types only ( #886 )
2018-11-27 17:18:38 -08:00
Jenny Tam
78911f4697
Fixed the flaws of decimal tests and added more debugging ( #879 )
2018-11-16 15:03:53 -08:00
Jenny Tam
3679b48df2
Skipped some tests when running against Azure ( #874 )
2018-11-07 16:37:11 -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
32732c885e
Clear AKV data after setting the connection attribute or when exception is thrown ( #854 )
...
* Dev (#820 )
* Fixed the potential error reported by Prefast code analysis
* Use SQLSRV_ASSERT for checking NULL ptrs
* For these AKV tests check env despite not AE connected
* Added the driver option to run functional tests
* Fixed connection pooling tests for more than one ODBC drivers
* added driver option to pdo isPooled.php
* Removed win32 ifdefs re connection resiliency (#802 )
* Set the driver argument for getDSN to null by default (#798 )
* Added the driver argument to getDSN
* Dropped the driver argument but set to null as default
* Removed the AE condition in locale support
* Modified the AE condition for locale support
* Changed int to SQLLEN to avoid infinite loop (#806 )
* Version 5.3.0 (#803 )
* Version 5.3.0
* Fixed the wrong replacements
* Added comments block to m4 files
* Use dnl for comments
* Modified AE fetch phptypes test to insert only one row at a time and loop through php types (#801 )
* Modified AE fetch phptypes test to insert only one row at a time and loop through php types
* Fixed formatting
* Streamlined two very similar large column name tests (#807 )
* Streamlined two very similar large column name tests
* Changed the EOL
* Updates to change log and readme (#811 )
* Updates to change log and readme
* Dropped support for Ubuntu 17
* Modified as per review comments
* Fixed connection resiliency tests for Unix, updated AppVeyor for ODBC 17.2
* Fixed expected output
* Fixed output and skipifs
* Fixed skipifs and output
* Fixed driver name
* Updated installation instructions and sample script (#813 )
* Updated instructions and sample test for 5.3.0 RTW
* Fixed sample code to adhere to php coding standard
* Fixed cases and spaces
* Modified NOTE for UB 18.04 based on review comments
* Added 'exit'
* Modified change log and readme based on review to PR 811
* Applied review comments
* build output to debug appveyor failure
* removed debug output
* Streamlined two very similar large column name tests (#815 )
* Streamlined two very similar large column name tests
* Added random number of test table names to avoid operand clash issues
* Replaced to with for based on review
* Changelog updated
* changelog updated, test skipif changed to run on unix platforms
* Fixed skipif typo
* Fixed typo in skipif for pdo
* Fixed some output for Travis
* Moved error checking inside pdo connres tests
* Added links back to changelog
* Fixed output for sqlsrv connres tests
* Fixed output
* Fixed output again
* Clear AKV data after connection or when exception is thrown
* Modified tests too to skip some AKV tests without real credentials
* Used assignment operator also free the existing memory
2018-09-26 14:51:16 -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
Jenny Tam
e51380612d
Adding supporting for Azure AD access token ( #837 )
...
* Adding supporting for Azure AD access token
* Added more comments for the AD access token skipif files
* Save the pointer to access token struct until after connecting
* Clear the access token data before freeing the memory
* Added a reference as per review
2018-09-06 11:32:04 -07:00
Jenny Tam
28a7860828
Added driver to the skipif conditions ( #831 )
2018-08-17 13:52:23 -07:00
David Puglielli
7357a1673f
One more fix
2018-07-26 16:08:58 -07:00
David Puglielli
efde09f9af
Tweaked per review comments
2018-07-23 16:38:24 -07:00
David Puglielli
f71c52d63d
Fixed skipifs for connres
2018-07-23 11:21:43 -07:00
David Puglielli
0f66c4848b
Moved error checking inside pdo connres tests
2018-07-19 13:25:07 -07:00
David Puglielli
820bc3199e
Fixed some output for Travis
2018-07-19 12:22:02 -07:00
David Puglielli
6cd7dbc8b9
Fixed typo in skipif for pdo
2018-07-19 10:59:32 -07:00
David Puglielli
c1d579319d
Fixed driver name
2018-07-12 13:24:04 -07:00
David Puglielli
0495513c07
Fixed skipifs and output
2018-07-11 16:27:03 -07:00
David Puglielli
82be8141a3
Fixed output and skipifs
2018-07-11 11:29:34 -07:00
David Puglielli
af9f77e1d1
Fixed connection resiliency tests for Unix, updated AppVeyor for ODBC 17.2
2018-07-10 17:07:03 -07:00
Jenny Tam
5aa9be7e13
Streamlined two very similar large column name tests ( #807 )
...
* Streamlined two very similar large column name tests
* Changed the EOL
2018-07-03 16:47:14 -07:00
Jenny Tam
eeea7878fb
Set the driver argument for getDSN to null by default ( #798 )
...
* Added the driver argument to getDSN
* Dropped the driver argument but set to null as default
* Removed the AE condition in locale support
* Modified the AE condition for locale support
2018-06-26 13:41:07 -07:00
Jenny Tam
d554492344
added driver option to pdo isPooled.php
2018-06-11 12:10:33 -07:00
Jenny Tam
17fa64ac79
Fixed connection pooling tests for more than one ODBC drivers
2018-06-11 11:36:22 -07:00
Jenny Tam
071e897e2d
Added the driver option to run functional tests
2018-06-08 16:00:27 -07:00
Jenny Tam
f6e450b408
For these AKV tests check env despite not AE connected
2018-06-07 13:54:35 -07:00
David Puglielli
b1288208a5
Fixed akv test failures with win encryption
2018-05-29 14:40:45 -07:00
David Puglielli
d35575b164
Added select type conversion test and updated values
2018-05-25 21:47:25 -07:00
David Puglielli
ff0e46071d
dropped tables at end
2018-05-25 15:19:20 -07:00
David Puglielli
1747df1ced
addressed review comments
2018-05-25 14:42:32 -07:00
David Puglielli
bd9d85b862
Refactored some akv tests, other small changes
2018-05-25 13:08:35 -07:00
David Puglielli
cee6370fda
Split akv verification tests to fix SSL issue
2018-05-24 17:15:55 -07:00
David Puglielli
1edd16d4a5
made bigint string for x64 too
2018-05-23 17:23:16 -07:00
David Puglielli
1b98036ca2
Added unset to free conns/stmts
2018-05-23 16:19:53 -07:00
David Puglielli
13e69b54bc
Fixed bigint insertion bug in x86
2018-05-23 15:42:36 -07:00
David Puglielli
e0f9afae2f
Merge pull request #768 from david-puglielli/azure-key-vault-support
...
Azure key vault support
2018-05-18 14:43:36 -07:00
David Puglielli
e2ed131b41
Final style fixes
2018-05-18 14:05:18 -07:00
David Puglielli
10ea9286d8
Fixed coding style
2018-05-18 12:24:37 -07:00
David Puglielli
eaa9446cab
Workaround for 32-bit error
2018-05-17 15:11:39 -07:00
David Puglielli
a0ade5d7a5
Fixed connect_driver tests
2018-05-17 12:15:31 -07:00
David Puglielli
85bda819b2
Skipping Ubuntu on verification akv tests
2018-05-17 11:37:26 -07:00
David Puglielli
079c4ea0fe
Fixed tests, fixed wide char name in keystore struct
2018-05-16 15:14:47 -07:00
Jenny Tam
0a1113697f
Modified the test to address VSO 2915
2018-05-15 16:25:54 -07:00
Jenny Tam
63c85edffc
Merge pull request #765 from yitam/decimalTests
...
Modified the expected results of two decimal tests
2018-05-15 10:43:10 -07:00
David Puglielli
b98b12965c
Tests updated
2018-05-09 16:11:17 -07:00
David Puglielli
3cb84ee4ee
Tests updated
2018-05-09 15:21:40 -07:00
David Puglielli
3b94eb4726
Merging
2018-05-08 17:56:28 -07:00
David Puglielli
364fef6908
Changes according to PR comments
2018-05-08 16:16:27 -07:00
David Puglielli
fb1a2ecb70
Changes according to PR review comments
2018-05-08 14:12:14 -07:00
Jenny Tam
5a842c9b32
Merge pull request #761 from yitam/vso2823
...
Made changes to output param handling code to convert doubles to ints, if necessary
2018-05-08 13:13:14 -07:00
David Puglielli
f49da62e5b
Added AKV configuration to setup files
2018-05-07 14:16:40 -07:00
David Puglielli
977e5309dd
Support for Azure Key Vault
2018-05-05 17:08:01 -07:00
Jenny Tam
25f85906b6
Removed the workaround in a decimal test because issue 706 has been fixed
2018-05-02 12:33:52 -07:00
Jenny Tam
5f555dfea2
Modified the expected results for a bind column test
2018-05-02 11:40:55 -07:00
Jenny Tam
04fa748a45
Added new tests for issue 678
2018-05-01 15:14:11 -07:00
Jenny Tam
06e92979d2
Use helper method isAEQualified instead
2018-04-30 12:51:18 -07:00
Jenny Tam
2fc3afe472
Added a new test for issue 707
2018-04-27 10:38:21 -07:00
Jenny Tam
5bb3f1a2ec
Modified the error message to indicate value out of range
2018-04-26 08:48:41 -07:00
Jenny Tam
218497c642
Made changes to output param handling code to convert doubles to ints if necessary
2018-04-25 15:43:56 -07:00
Jenny Tam
72ca1cd1eb
Fixed incorrect error when binding inout PDO STR with binary encoding
2018-04-24 15:38:53 -07:00
Jenny Tam
b8d1feb9ba
Modified the driver tests as well
2018-04-12 08:41:35 -07:00
David Puglielli
454bc2739f
Merge pull request #744 from david-puglielli/Revert-bigint-change
...
Reverted change handling bigint output parameters
2018-04-11 14:21:20 -07:00
David Puglielli
bbf951cad8
Minor fixes
2018-04-11 13:37:31 -07:00
David Puglielli
99a11c1434
Fixed binary test
2018-04-11 12:09:31 -07:00
David Puglielli
8c681f25d5
Updated failing tests
2018-04-10 19:45:18 -07:00
David Puglielli
2960738883
Reverted change handling bigint output parameters
2018-04-09 17:15:58 -07:00
David Puglielli
f15a3f843b
Fixed test again
2018-04-05 12:53:18 -07:00
David Puglielli
761c03ebff
Fixed test again
2018-04-05 11:52:57 -07:00
David Puglielli
54c0f5afd5
Fixed output to test
2018-04-04 11:39:52 -07:00
v-kaywon
f40eeac83c
fetching float as integers doesn't work for PHP 7.0
2018-03-19 12:15:49 -07:00
v-kaywon
6a96ef482e
increase epsilon comparing floats in pdo_ae_output_param_floats.phpt
2018-03-15 16:11:35 -07:00
Yuki Wong
e226968788
Merge pull request #698 from v-kaywon/aetests
...
add tests for testing insertion with the pdo drivers with all data ty…
2018-03-14 10:50:16 -07:00
v-kaywon
d88967cf4a
address review comments
2018-03-13 16:15:42 -07:00
Jenny Tam
675d3a82b5
Applied review comments
2018-03-13 14:49:28 -07:00
Jenny Tam
7a6a8d5a72
PDO tests for retrieving data as output params using various PDO param types
2018-03-13 14:04:40 -07:00
v-kaywon
87cd9b45e2
test numeric test
2018-03-13 13:59:39 -07:00
v-kaywon
c1afad2d57
fix tests according to review comments
2018-03-13 12:50:20 -07:00
v-kaywon
24938f5232
fix pdo_ae_insert_pdoparam_numeric.phpt
2018-03-06 14:02:48 -08:00
v-kaywon
3d94c21950
fix pdo_ae_insert_pdoparam_numeric for x86 platform
2018-03-06 11:58:56 -08:00
v-kaywon
7870d88245
fix some tests
2018-03-05 15:32:08 -08:00
v-kaywon
85871448bc
fix some tests
2018-03-05 13:21:19 -08:00
v-kaywon
2925f6d444
polished insert pdoparam decimal precision test
2018-03-05 12:24:47 -08:00
v-kaywon
03845da0c8
polich PDO side ae related tests
2018-03-02 16:34:47 -08:00
v-kaywon
5eaaa78292
add tests for fetching with bindColumn
2018-02-27 13:38:49 -08:00
v-kaywon
015be292d9
add tests for testing insertion with the pdo drivers with all data types and variation of precisions and scales
2018-02-26 15:56:05 -08:00
Jenny Tam
8292fb7a15
Modified tests to check the right error messages
2018-02-08 13:25:08 -08:00
Jenny Tam
ebbb676b8a
Fixed the failing tests
2018-02-08 09:51:52 -08:00
Jenny Tam
bad65817e1
ColumnEncryption keyword reserved for Windows for now
2018-02-08 09:30:07 -08:00
Jenny Tam
db56c0344e
Removed support for Custom Keystore provider
2018-02-08 09:00:16 -08:00
Jenny Tam
907e8c8e5c
Modified tests and setup to run AE tests in Azure
2018-01-31 08:27:06 -08:00
v-kaywon
5c1cb604fa
fix pdostatement_fetch_orientation.phpt
2018-01-18 16:16:09 -08:00
v-kaywon
007e15c318
fix tests that uses scrollable cursor with AE
2018-01-18 15:35:13 -08:00
Jenny Tam
79b49fd93b
Fixed regex for ODBC driver names ( #653 )
2018-01-02 17:53:30 -08:00
v-kaywon
99f27700b1
add comments about ae not supporting parameters in select list
2017-12-19 15:17:01 -08:00
v-kaywon
294537ecb3
add helper function for checking error messages
2017-12-19 11:41:28 -08:00
v-kaywon
57d7400f2c
fix tests related to having parameter markers in the select list
2017-12-18 16:00:02 -08:00
Jenny Tam
20b178ae7a
Fix PDO67_BindTruncation test
2017-12-14 08:12:42 -08:00
v-kaywon
bc9ca5e486
fix AE related tests
2017-12-12 17:12:48 -08:00
v-kaywon
feebf20d4e
fix setting encryption type in MsCommon_mid-refactor.inc
2017-12-12 14:36:02 -08:00
Yuki Wong
491efd7ffc
Merge pull request #612 from v-kaywon/refactorPDOTests4
...
refactor PDO_SQLSRV bind param related tests
2017-12-08 15:24:06 -08:00
v-kaywon
b808f3bd87
change normal encryption to none encryption
2017-12-08 12:11:53 -08:00
v-kaywon
c5d02cbeec
apply review comments 2
2017-12-07 14:10:10 -08:00
v-kaywon
98d7307860
do not encrypt column needed for ORDER BY clause
2017-12-06 11:54:10 -08:00
v-kaywon
9196c557f8
update MsCommon_mid-refactor.inc to not require AE_Ksp
2017-12-05 16:34:18 -08:00
v-kaywon
8297fce1b9
apply review comments
2017-12-05 16:32:18 -08:00
v-kaywon
44b31bf728
use varaibles for ksp related constants
2017-12-05 12:23:29 -08:00
v-kaywon
aa04104bb2
refactor KSP related tests
2017-12-05 09:54:11 -08:00
v-kaywon
0bb4703e2b
define getKSPPath function and ksp related variabled in MsCommon_mid-refactor.inc
2017-12-04 15:11:57 -08:00
v-kaywon
3e1a346ef7
cosmetic changes
2017-12-04 10:09:59 -08:00
v-kaywon
5923b42727
fix double reclaring KSP function; fixed tests with emulate prepare or direct query
2017-11-30 17:34:20 -08:00
v-kaywon
3b65f26776
fix line endings
2017-11-30 16:26:39 -08:00
v-kaywon
f3e31b834d
refactor PDO_SQLSRV bind param related tests
2017-11-30 14:37:25 -08:00
Yuki Wong
f2884e0979
Merge pull request #594 from v-kaywon/adjustprecision
...
Adjust precision for decimal input when column encryption is enabled
2017-11-22 13:58:53 -08:00
Jenny Tam
ab5bdb4ac0
Merge branch 'dev' into describeParam
2017-11-21 15:29:09 -08:00
v-kaywon
20480812c2
remove include string in core_stmt.cpp
2017-11-20 16:06:39 -08:00
v-kaywon
d35087c608
fix two odbc version test
2017-11-20 13:01:10 -08:00
v-kaywon
f815043a05
change description of inputs
2017-11-17 16:57:23 -08:00
v-kaywon
90029e7e54
add test for scientific notation
2017-11-17 10:21:03 -08:00
David Puglielli
01dd22cac2
Merge pull request #595 from david-puglielli/nextrowset-revert
...
Revert nextRowset changes
2017-11-16 22:06:12 -05:00
David Puglielli
b2e962100d
Refactored tests
2017-11-16 16:43:45 -08:00
v-kaywon
4fb2c80e69
change expected output
2017-11-16 11:32:24 -08:00
Jenny Tam
ef45560db0
Modified how to bind parameters when AE is enabled
2017-11-16 10:30:44 -08:00
v-kaywon
04d509ef9d
change values in tests to only up to 38 decimal digits
2017-11-16 10:09:10 -08:00
David Puglielli
633024c22b
Revert next result changes, improve tests
2017-11-15 17:39:00 -08:00
v-kaywon
9d6aba62ce
implement adjustInputPrecision
2017-11-15 16:36:10 -08:00
Jenny Tam
d633691b5b
Raised the initial buffer size and modified tests as per review
2017-11-10 15:04:07 -08:00
Jenny Tam
52b612ece8
Fix to GitHub issue 574
2017-11-09 15:24:08 -08:00
Yuki Wong
07ac237def
Merge pull request #582 from v-kaywon/refactorPDOTests3
...
Refactor PDO tests with client buffer or table with all datatypes
2017-11-08 11:23:36 -08:00
v-kaywon
12f5e727b5
apply review commnets
2017-11-07 17:12:43 -08:00
David Puglielli
e2e82b245b
Fixed line endings
2017-11-07 16:06:19 -08:00
v-kaywon
bedfd462f7
fix decimal related tests to work on SQL Server 2k12
2017-11-07 15:59:28 -08:00
David Puglielli
91418df548
Added tests for manual verification
2017-11-07 15:04:50 -08:00
v-kaywon
7c02574cfc
refactor pdostatement_GetDataType.phpt to use common method for different columns
2017-11-07 12:56:00 -08:00
v-kaywon
3d2c54ac2c
test column encryption unsupported types in MsData_PDO_AllTypes.inc
2017-11-07 12:06:49 -08:00
v-kaywon
708a29c45d
remove odl MsData.inc
2017-11-07 12:04:19 -08:00
v-kaywon
b695cc1655
test column encryption unsupported types
2017-11-07 11:45:13 -08:00
v-kaywon
ce23b38557
change to default API used for inserting row in pdo_ae_output_param.phpt
2017-11-07 10:01:14 -08:00
v-kaywon
8ea405b69e
update AEData.inc and MsCommon_mid-refactor.inc for the ae related tests
2017-11-07 08:59:38 -08:00
v-kaywon
1e69c86d69
add refactored ae related tests
2017-11-06 17:30:11 -08:00
v-kaywon
e09dd9163d
add exception handling for pdo_transaction.phpt
2017-11-03 17:10:45 -07:00
v-kaywon
a60992f8a5
address review comments
2017-11-03 17:01:09 -07:00
v-kaywon
0c74a27186
address review comments
2017-11-03 14:35:16 -07:00
v-kaywon
529c5aa77b
fix typo in pdo_utf8_conn.phpt
2017-11-02 10:33:18 -07:00
v-kaywon
a68abdbc6c
change include file to MsCommon_mid-refactor.inc in pdo_quote.phpt
2017-11-02 09:51:01 -07:00
v-kaywon
1317d67170
remove xfail from pdostatement_nextRowset.phpt
2017-11-01 17:24:17 -07:00
v-kaywon
50d3c19c47
refactor PDO tests with client buffer or table with all datatypes
2017-11-01 17:09:58 -07:00
v-kaywon
8083c65e5c
change test title in test
2017-11-01 16:46:56 -07:00
v-kaywon
2ce10aceb0
change error messages
2017-10-31 09:41:34 -07:00
v-kaywon
631f80a9af
added error handling for using direct_query and emulate_prepare in a Column Encryption enabled connection
2017-10-26 13:58:38 -07:00
v-kaywon
7a496acfbe
change test title in pdo_decimal_precision.phpt and sqlsrv_decimal_precision.phpt
2017-10-20 15:10:56 -07:00
v-kaywon
02e145d988
fix for right truncation error when precision of the column definition and input is not aligned
2017-10-18 18:10:30 -07:00