Commit graph

153 commits

Author SHA1 Message Date
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 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
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
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
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
David Puglielli 1747df1ced addressed review comments 2018-05-25 14:42:32 -07:00
David Puglielli 079c4ea0fe Fixed tests, fixed wide char name in keystore struct 2018-05-16 15:14:47 -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 fb1a2ecb70 Changes according to PR review comments 2018-05-08 14:12:14 -07:00
David Puglielli 977e5309dd Support for Azure Key Vault 2018-05-05 17:08:01 -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 93b9938e02 Replace most strlen with strnlen_s 2018-04-13 15:06:10 -07:00
David Puglielli 2960738883 Reverted change handling bigint output parameters 2018-04-09 17:15:58 -07:00
Jenny Tam db56c0344e Removed support for Custom Keystore provider 2018-02-08 09:00:16 -08:00
v-kaywon 53e5a51760 remove workaround for limitation on fetching stream 2018-01-15 11:57:52 -08:00
Jenny Tam 00a2e82ca8 Changed connection order to ODBC drivers 2018-01-02 15:26:33 -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
Jenny Tam 11c6fe6f46 chech param num against vector size 2017-11-21 16:41:18 -08:00
Jenny Tam ef45560db0 Modified how to bind parameters when AE is enabled 2017-11-16 10:30:44 -08:00
Jenny Tam 52b612ece8 Fix to GitHub issue 574 2017-11-09 15:24:08 -08:00
Jenny Tam e5a3767089 Added error handling for LOB types as output parameters 2017-11-03 10:00:08 -07:00
v-kaywon 597d54476e detect appveyor problem 2017-10-17 15:37:59 -07:00
v-kaywon 8397f7b8bf detect appveyor problem 2017-10-17 15:13:29 -07:00
v-kaywon c30f2d6100 change encoding to SYSTEM when converting int to string for inout and output param 2017-10-12 11:33:45 -07:00
v-kaywon a0e886273f convert long output param to string, then convert back to long if less than max int 2017-10-11 18:03:14 -07:00
Jenny Tam bbc2701140 Made changes as per review comments 2017-09-29 15:54:34 -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
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
Jenny Tam 256e712072 also checked if ODBC driver is set when AE is enabled 2017-09-26 16:38:34 -07:00
Jenny Tam ca257fd2f4 search installed ODBC driver in Unix env 2017-09-25 12:35:02 -07:00
Hadis-Fard b037bfa317 constant mars error per review 2017-09-15 09:58:47 -07:00
Hadis-Fard e97d5c201a replaced tab with spaces 2017-09-15 09:45:36 -07:00
Hadis-Fard 80b9f9e603 fixes per review comments 2017-09-14 18:21:25 -07:00
Hadis Fard 8495cb10a6 Merge branch 'AlwaysEncrypted' into AlwaysEncrypted 2017-09-14 15:21:07 -07:00
Hadis-Fard dfee28f22a fixed indentations 2017-09-14 12:00:51 -07:00
Hadis-Fard 08ca46116f changed the order of ODBC drivers 2017-09-14 09:34:48 -07:00
Jenny Tam 79ee775b81 Updated versions to 5.1.0-preview 2017-09-13 15:34:06 -07:00
Hadis-Fard d88838a605 fixed mem leak 2017-09-13 09:32:40 -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 8a01b6e2f9 placed back setConnAttr after namespace definition 2017-09-12 09:46:22 -07:00
Hadis-Fard a0e959a6e9 removed driver_version from conn struct 2017-09-11 16:17:24 -07:00
Hadis-Fard 193df5c5b5 added flag and connect using driver set 2017-09-08 17:36:48 -07:00
Hadis-Fard 1abd36b935 passed conn_str to odbc_Connect, removed conn_options 2017-09-08 17:15:31 -07:00
Hadis-Fard 1e61efca7e refactored conn string funcs, added Driver option 2017-09-08 16:47:43 -07:00
Hadis-Fard fc7173df11 fixed default driver version, sal annotation, and error messages 2017-09-08 10:28:01 -07:00
v-kaywon 376461fab4 fix according to code review 2017-09-07 15:26:46 -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
v-kaywon 01c9f22f63 add code for AE insertion 2017-09-05 16:51:40 -07:00
Jenny Tam d62d434cd0 modified skipif and code based on review 2017-09-01 16:10:44 -07:00
Jenny Tam babaae71e9 added 2 more columns to ksp test table 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 8fe7039b1b Implementation of fetching AE max columns 2017-09-01 16:10:41 -07:00
v-kaywon f744b7e515 merge ae code 2017-09-01 16:10:40 -07:00
v-kaywon 22b4817f65 Implementation of fetching AE max columns 2017-08-08 12:03:51 -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
v-kaywon f5f5d5e82f add more annotations 2017-06-30 15:17:14 -07:00
v-kaywon bcff393895 fix versionhelper header 2017-06-29 12:49:00 -07:00
v-kaywon b78bcf8be3 fix GetVersionExA is Deprecated warning 2017-06-29 12:23:46 -07:00
v-kaywon bde81001e9 added SAL annotations and fixed warnings 2017-06-22 14:04:34 -07:00
Hadis Kakanejadi Fard a879e40162 updated version to 4.3 rc 2017-06-20 10:12:23 -07:00
v-kaywon 56dcce01b7 Fix indentation in core_sqlsrv.h 2017-06-19 09:58:04 -07:00
v-kaywon 208cc4a078 Add TNIR conn option and tests 2017-06-07 13:53:04 -07:00
yitam 7d8004bf5a fixed indendations and tabs 2017-05-05 16:39:51 -07:00
yitam 1e527865a9 Implemented Azure AD plus tests 2017-05-05 16:28:33 -07:00
David Puglielli f330830eef Connection resiliency changes (#356)
* Connection resiliency changes

* Changed connres test to check appveyor protocol

* Changed connres test to check appveyor protocol

* Changed connres test to check appveyor protocol

* Reverted test because appveyor still won't use the correct protocol

* Removed unnecessary connres #defines from msodbcsql.h
2017-04-04 13:40:30 -07:00
Jenny Tam 52e05992bd Merge pull request #344 from v-kaywon/error_numcol
workaround for unixODBC bug returning error when getting numcol
2017-04-04 11:40:15 -07:00
v-kaywon 9d033e716a added more to test 2017-03-31 13:59:30 -07:00
v-kaywon d87c03f5a8 do not check has result if execute returns SQL_NO_DATA 2017-03-31 13:38:57 -07:00
v-kaywon 816856cbc0 cleaner code 2017-03-29 13:45:57 -07:00
v-kaywon 0fd7ebb6d3 fix seg fault 2017-03-29 11:26:45 -07:00
v-kaywon 53c280fe54 get error without recording it 2017-03-28 16:37:40 -07:00
v-kaywon 7c4efbcad8 Update core_sqlsrv.h 2017-03-28 09:29:57 -07:00
v-kaywon 7256685a4c workaround for unixODBC bug returning error when pdo::exec query with empty result set 2017-03-27 17:49:01 -07:00
ulvii 80b510ef2f removing tabs 2017-03-27 12:57:18 -07:00
ulvii 27bae233c0 Update identation 2017-03-24 15:53:41 -07:00
ulvii 5e42b191ea Implementing new cache to remove unnecessary ODBC calls 2017-03-24 15:46:53 -07:00
v-dareck 8e22e4ca17 Fix memory leaks in buffered resultsets. 2017-02-24 13:29:09 -08:00
yitam 8df3d00f02 check if constant defined first 2017-02-08 14:28:04 -08:00
yitam 8bb8dfe399 define SQL_GUID for PECL 2017-02-06 16:55:39 -08:00
yitam 3280d76682 modified ifdef __linux__ 2017-02-01 12:41:13 -08:00
Hadis Kakanejadi Fard d2d3d32be3 removed unused sqlsrv_zend_hash_add 2017-01-30 13:29:26 -08:00
Hadis Kakanejadi Fard 56f1029acf made the ifdef consitent 2017-01-26 17:06:17 -08:00
Hadis Kakanejadi Fard b8a162fa18 fixed indentations on rowCount 2017-01-26 14:43:15 -08:00
Hadis Kakanejadi Fard 4f05da0b3f fixed included headers order 2017-01-26 13:54:02 -08:00
Hadis Kakanejadi Fard 3bd848d58a gaurded strsafe header 2017-01-25 14:05:08 -08:00
Hadis Kakanejadi Fard 3afe7fe883 merged core_sqlsrv.h 2017-01-23 17:22:15 -08:00
Hadis Kakanejadi Fard 08c9ca87e1 merged conversion functions in core_sqlsrv and core_util 2017-01-20 15:14:46 -08:00