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
084ab72406
Incorporated changes in PR 634 to pdo_sqlsrv ( #834 )
...
* Incorporated changes in PR 634 to pdo_sqlsrv
* Reverted the changes because the array is for internal use only
2018-08-28 15:18:01 -07:00
Jenny Tam
c209b7248f
Enabled Spectre Mitigations ( #836 )
2018-08-24 15:31:13 -07:00
Jenny Tam
6a688b3727
Modified the error handling to make it more flexible ( #833 )
...
* Made error handling more flexible
* Fixed a minor issue with a test
2018-08-20 14:51:33 -07:00
Jenny Tam
909d1fa130
Before freeing stmt in destructor check if dbh driver data is NULL ( #829 )
...
* Issue 434 - set dbh driver data to NULL as well in destructor
* Reverted the last change but instead check if dbh driver_data is already freed
* Modified the comment
2018-08-10 15:18:08 -07:00
David Puglielli
ba9579b504
Merge pull request #827 from david-puglielli/string-initialisation-nulls
...
Fix for compilation problem again
2018-08-01 16:40:40 -07:00
David Puglielli
0b15997d3c
Fix for compilation problem again
2018-08-01 16:14:34 -07:00
David Puglielli
d699680cd4
Merge pull request #826 from david-puglielli/string-initialisation-nulls
...
Fix for compilation problem
2018-08-01 14:36:20 -07:00
David Puglielli
29f4ad710b
Fix for compilation problem
2018-08-01 13:24:20 -07:00
David Puglielli
026c5d14d3
Merge pull request #825 from david-puglielli/string-initialisation-nulls
...
String initialisation to nulls
2018-07-31 18:28:57 -07:00
David Puglielli
41a7caf1c1
Made array index spacing consistent
2018-07-31 17:22:56 -07:00
David Puglielli
a664a5fcf9
Removed some spaces
2018-07-31 14:58:21 -07:00
David Puglielli
adf86f17ae
Initialising strings with nulls
2018-07-31 13:16:32 -07:00
Jenny Tam
b6d815bfc9
Changes made to source and tests to support PHP 7.3 ( #822 )
...
* Changes made to support php 7.3
* Correct use of the smart pointer
* Fixed the tests for 7.3
* Some clean up for array_init()
* Fixed formattings and clean up
2018-07-26 15:21:03 -07:00
Jenny Tam
197489ab4f
Version 5.3.0 ( #803 )
...
* Version 5.3.0
* Fixed the wrong replacements
* Added comments block to m4 files
* Use dnl for comments
2018-06-27 11:03:52 -07:00
Jenny Tam
ae0b95b757
Changed int to SQLLEN to avoid infinite loop ( #806 )
2018-06-27 11:03:30 -07:00
Jenny Tam
81ff0851ea
Removed win32 ifdefs re connection resiliency ( #802 )
2018-06-21 14:29:09 -07:00
Jenny Tam
44d1bb39ba
Use SQLSRV_ASSERT for checking NULL ptrs
2018-06-06 13:18:58 -07:00
Jenny Tam
10ff344fca
Fixed the potential error reported by Prefast code analysis
2018-06-05 13:09:51 -07:00
David Puglielli
13144d9c5e
Merge pull request #783 from david-puglielli/type-conversion-for-ae
...
Added select type conversion test
2018-05-28 15:48:18 -07:00
David Puglielli
c348aadd68
Addressed review comments
2018-05-28 15:08:46 -07:00
David Puglielli
d35575b164
Added select type conversion test and updated values
2018-05-25 21:47:25 -07:00
Jenny Tam
45f422abba
Merge pull request #780 from yitam/version
...
Modified version.h for 5.2.1-preview
2018-05-25 16:48:13 -07:00
David Puglielli
1747df1ced
addressed review comments
2018-05-25 14:42:32 -07:00
Jenny Tam
6817c7b4d4
Modified the comments to clarify things
2018-05-25 09:38:23 -07:00
Jenny Tam
d26440b207
Modified version.h for 5.2.1-preview
2018-05-24 16:30:12 -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
757a84fd4c
Added constant for AKV name
2018-05-17 16:24:40 -07:00
Jenny Tam
64e2241ba2
Extend output buffer sizes with SQL decimals or numerics
2018-05-17 13:06:22 -07:00
David Puglielli
079c4ea0fe
Fixed tests, fixed wide char name in keystore struct
2018-05-16 15:14:47 -07:00
Jenny Tam
4747537a96
Fixed the formatting
2018-05-15 16:13:36 -07:00
Jenny Tam
0b5ceb001d
Reverted the changes
2018-05-15 15:57:47 -07:00
Jenny Tam
4c7c08515d
Added workaround for the test plus use BIGINT for 64-bit systems
2018-05-15 14:28:26 -07:00
Jenny Tam
bca311081d
Modified the output param initial value
2018-05-15 12:41:28 -07:00
Jenny Tam
9a82e9daa3
Used sizeof not INT_MAX
2018-05-15 10:00:36 -07:00
Jenny Tam
999312be8b
Tried using INT_MAX instead
2018-05-15 09:33:52 -07:00
David Puglielli
2239511f80
Workaround for error returned in Linux
2018-05-14 12:04:25 -07:00
David Puglielli
3b94eb4726
Merging
2018-05-08 17:56:28 -07:00
David Puglielli
2aaae26f55
Minor fixes
2018-05-08 17:09:58 -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
2fe0b5a2bc
Removed more unnecessary comments
2018-05-05 17:24:34 -07:00
David Puglielli
52cd004b79
Removed unnecessary comments
2018-05-05 17:22:02 -07:00
David Puglielli
977e5309dd
Support for Azure Key Vault
2018-05-05 17:08:01 -07:00
Jenny Tam
5f6c3994ca
A huge negative number is out of range too
2018-04-26 08:57:22 -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