Jenny Tam
9a372582f9
Support for Managed Identity for Azure resources ( #875 )
2019-01-11 17:17:45 -08:00
Jannes Jeising
4efb54e45a
Enable compiling extensions statically into PHP ( #904 )
2018-12-20 11:49:06 -08:00
Jenny Tam
ae29f73aee
Version update for 5.5.0-preview ( #889 )
2018-11-29 08:54:45 -08:00
Jenny Tam
76c595fc2b
Decimal places for money types only ( #886 )
2018-11-27 17:18:38 -08:00
Jenny Tam
69e82080ea
Modified config files to add the compiler flag, /Qspectre ( #878 )
2018-11-13 15:33:07 -08:00
Jenny Tam
f4ad2ae1d4
Feature request 415 for pdo_sqlsrv ( #873 )
2018-11-02 14:34:27 -07:00
Jenny Tam
b523306919
Save meta data for the fetched result set ( #855 )
...
* Save meta data on fetched result sets
* Fixed a compilation error
* Optimized some more -- metadata should be available when fetching
* Skip conversion for strings of numeric values, integers, floats, decimals etc
* Set encoding char for numeric data
* Apply review
2018-10-05 15:01:18 -07:00
Jenny Tam
88dfea339a
Updated version 5.4.0-preview ( #846 )
...
* Updated version 5.4.0-preview
* Replaced 5.3 with 5.4
2018-09-18 08:20:43 -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
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
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
81ff0851ea
Removed win32 ifdefs re connection resiliency ( #802 )
2018-06-21 14:29:09 -07:00
Jenny Tam
10ff344fca
Fixed the potential error reported by Prefast code analysis
2018-06-05 13:09:51 -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
977e5309dd
Support for Azure Key Vault
2018-05-05 17:08:01 -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
3033a26c51
Added a comment to address the issue
2018-04-25 07:56:58 -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
93b9938e02
Replace most strlen with strnlen_s
2018-04-13 15:06:10 -07:00
Jenny Tam
812db3da38
Increase LAST_INSERT_ID_BUFF_LEN for other data types for identity columns
2018-04-06 11:35:32 -07:00
Jenny Tam
db56c0344e
Removed support for Custom Keystore provider
2018-02-08 09:00:16 -08:00
v-kaywon
13d6f9129e
change version.h and config flags for debug mode
2018-01-29 16:38:09 -08:00
David Puglielli
bc71d659d8
Fixed merge conflicts
2018-01-05 12:14:01 -08:00
Jenny Tam
cc303c5904
Use https for fwlinks
2018-01-03 13:02:26 -08:00
David Puglielli
6b177f0ee1
Added immediate binding and fixed some mac related test output
2017-12-21 14:14:23 -08:00
Jenny Tam
244e3401b5
Added Control Flow Guard to configs
2017-12-21 12:52:36 -08:00
Jenny Tam
2236e71234
Merge pull request #631 from yitam/RC1
...
Updated versions from 5.1 to 5.2
2017-12-14 16:49:54 -08:00
Jenny Tam
8d33f1fc02
Updated versions from 5.1 to 5.2
2017-12-14 16:05:34 -08:00
v-kaywon
ad29c28dc4
fix warning according to prefast code analysis
2017-12-13 13:33:32 -08:00
v-kaywon
b9579a2426
add error handling for fetching stream with always encrypted
2017-12-07 17:29:06 -08:00
David Puglielli
633024c22b
Revert next result changes, improve tests
2017-11-15 17:39:00 -08:00
David Puglielli
10aa50ced0
Fixed crash caused by non-freed reference
2017-11-06 15:48:51 -08:00
Jenny Tam
e5a3767089
Added error handling for LOB types as output parameters
2017-11-03 10:00:08 -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
Jenny Tam
ce8d444977
Merge pull request #552 from yitam/missingDriver
...
Search for installed ODBC driver(s) in non-Windows env and more error handling when driver option is set
2017-10-03 15:05:49 -07:00
David Puglielli
a1d613054e
Merge pull request #520 from david-puglielli/nextrowset-fix
...
Added empty result set check to nextRowset()
2017-10-03 14:31:56 -04:00
David Puglielli
95f76757d0
Merge branch 'nextrowset-fix' of https://github.com/david-puglielli/msphpsql into nextrowset-fix
2017-10-02 13:47:29 -07:00
David Puglielli
4151f8f5d1
Minor fixes
2017-09-29 20:47:24 -07:00
David Puglielli
9e928672d4
Update pdo_stmt.cpp
2017-09-29 16:17:39 -07:00
Jenny Tam
bbc2701140
Made changes as per review comments
2017-09-29 15:54:34 -07:00
David Puglielli
494527d465
Tweaked tests, added comments per code review comments
2017-09-29 14:30:29 -07:00
Jenny Tam
302f8540c8
Merge branch 'dev' into missingDriver
2017-09-29 11:37:05 -07:00
David Puglielli
3acab1ae0c
Fixed tests and added code comments
2017-09-28 14:16:50 -07:00
Jenny Tam
76e628c963
resumed error handling when driver option is set and added test cases
2017-09-28 13:22:00 -07:00
David Puglielli
d56446c41c
More tiny fixes
2017-09-27 18:08:24 -07:00
David Puglielli
7713b70d1f
Fixed typos again
2017-09-27 17:50:20 -07:00
David Puglielli
a749010a67
Moved errors back to pdo_stmt and stmt.cpp
2017-09-27 17:01:20 -07:00
Jenny Tam
5189a9eb65
removed the checks for IM002 because of DM inconsistencies
2017-09-27 16:44:51 -07:00
Jenny Tam
0cbc00384c
added more error checking when driver option is set
2017-09-27 15:16:17 -07:00
David Puglielli
68bb42b2cf
Moved check to core_sqlsrv_next_result to avoid suppressing a different error message
2017-09-26 18:33:49 -07:00
Jenny Tam
256e712072
also checked if ODBC driver is set when AE is enabled
2017-09-26 16:38:34 -07:00
David Puglielli
270f2b446e
Use core_sqlsrv_has_any_result to check for null results
2017-09-26 16:02:30 -07:00
David Puglielli
be2be4bb27
Merge remote-tracking branch 'upstream/dev' into nextrowset-fix
2017-09-26 15:04:40 -07:00
Jenny Tam
2dbdf12b18
searched for ODBC drivers only in non-windows env
2017-09-25 13:37:42 -07:00
Jenny Tam
96a15f3a48
added legacy_stdio_definitions.lib
2017-09-25 12:35:03 -07:00
David Puglielli
0d06dea2e8
Fixed compile bug
2017-09-21 18:37:23 -07:00
David Puglielli
7046086f60
Fixed test failures by moving logic back to stmt.cpp and pdo_stmt.cpp
2017-09-21 18:27:56 -07:00
David Puglielli
8666ea63c7
Fixed bug for sqlsrv too, sqlsrv test added
2017-09-21 17:55:59 -07:00
v-kaywon
57a41d71e9
fix PDO::quote api when input string contain a NUL ASCII character
2017-09-21 15:59:54 -07:00
Hadis-Fard
4e712ff50a
fixed missign driver error message
2017-09-15 13:13:29 -07:00
Hadis-Fard
80b9f9e603
fixes per review comments
2017-09-14 18:21:25 -07:00
Hadis-Fard
db226aa13c
Merge branch 'AlwaysEncrypted' of https://github.com/Hadis-Fard/msphpsql into AlwaysEncrypted
2017-09-14 16:56:23 -07:00
Hadis-Fard
98100ee892
aded capability to pass driver with/without curly braces
2017-09-14 16:54:59 -07:00
Hadis Fard
8495cb10a6
Merge branch 'AlwaysEncrypted' into AlwaysEncrypted
2017-09-14 15:21:07 -07:00
Jenny Tam
79ee775b81
Updated versions to 5.1.0-preview
2017-09-13 15:34:06 -07:00
Hadis-Fard
403d51a4e4
fixed Mars error, added driver option in pdo, added invalid driver error
2017-09-12 13:30:14 -07:00
Hadis-Fard
fc7173df11
fixed default driver version, sal annotation, and error messages
2017-09-08 10:28:01 -07:00
David Puglielli
83631cdabc
Added empty result set check to nextRowset()
2017-09-07 15:44:43 -07:00
Hadis-Fard
3343d1eb18
fixed crash and error handling
2017-09-06 18:04:55 -07:00
Hadis-Fard
117b2bf777
resolved merge conflicts
2017-09-06 12:46:22 -07:00
Hadis-Fard
f25677e457
refactored odbc connect, added ae connect error
2017-09-06 10:55:08 -07:00
Jenny Tam
58f2068479
conflicts in msodbcsql
2017-09-01 16:10:44 -07:00
Jenny Tam
15247faae0
Added support for loading a custom keystore provider for Column Encryption
2017-09-01 16:10:42 -07:00
v-kaywon
f744b7e515
merge ae code
2017-09-01 16:10:40 -07:00
v-kaywon
c8c7bfad57
merge ae code
2017-07-25 11:01:00 -07:00
David Puglielli
c1e7280dc6
Version updated
2017-07-20 11:44:46 -07:00
David Puglielli
ca4a2d9b7d
changed line endings
2017-07-19 14:10:53 -07:00
David Puglielli
53318fbbdd
new PR for lastInsertID
2017-07-19 14:05:14 -07:00
v-kaywon
49fd20d31c
fix unmatching quoted length and quoted_len in pdo_quote (fix for uninitialized read)
2017-07-04 16:32:35 -07:00
v-kaywon
f2510c7d5d
Merge pull request #461 from v-kaywon/moreSAL
...
add more annotations
2017-06-30 16:35:29 -07:00
ulvii
58e8a24b17
Fixing issues reported by binary analysis - Hardening checks ( #460 )
...
* Adding compiler and linker options for hardening check
* Update config.m4
* Adding fstack protector to compiler options
* Detect platform in config.m4
* Removing the newly added linker flag, because its breaking the PDO_SQLSRV load. Creating a backlog item
* Update config.m4
* Update config.m4
* Testing with -O3
* Adding optimization flag to windows config files
* Update config.w32
2017-06-30 16:28:04 -07:00
v-kaywon
f5f5d5e82f
add more annotations
2017-06-30 15:17:14 -07:00
v-kaywon
d2690aad12
Merge branch 'dev' into fix_fortify_warning
2017-06-30 13:01:48 -07:00