Commit graph

78 commits

Author SHA1 Message Date
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
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
v-kaywon d32250a61f added in a SAL annotation for pdo_sqlsrv_dbh_quote 2017-06-30 10:59:31 -07:00
v-kaywon c470d59f07 change back ordering for checking stmt != NULL 2017-06-30 09:38:01 -07:00
v-kaywon c107a64368 change ordering of != NULL check 2017-06-29 12:53:00 -07:00
v-kaywon 48223ff107 fix for fortify warnings 2017-06-29 10:51:58 -07:00
v-kaywon f0da33db26 change _In_ to _Inout_ annotation for pdo_dbh and pdo_stmt objects 2017-06-27 15:17:21 -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 84ee58cb5f Merge pull request #426 from v-kaywon/tnir
Add TNIR conn option and tests
2017-06-19 17:27:39 -07:00
susanh f4ae5e1e4c added MACOSX_DEPLOYMENT_TARGET to not use linker flat_namespace flag 2017-06-15 17:46:04 -07:00
v-kaywon 208cc4a078 Add TNIR conn option and tests 2017-06-07 13:53:04 -07:00
Hadis Kakanejadi Fard e0a65cd0a5 reverted m4 files 2017-05-24 12:45:42 -07:00
Hadis Kakanejadi Fard 3577a9281a updated header files to 4.2 2017-05-24 10:01:44 -07:00
Hadis Kakanejadi Fard dba7ba4365 added variant const 2017-05-16 15:53:40 -07:00
v-kaywon 8de9669b39 get start_pos out of while loop 2017-05-12 16:02:34 -07:00
v-kaywon 9e3252d4f4 fix uninitialized read if pos of string parser is -1 2017-05-12 10:56:26 -07:00
yitam 9e8cb88ca7 also download MS Online Services sign-in assistant 2017-05-08 08:12:26 -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
v-kaywon c0707f6991 fix comments 2017-05-01 15:24:32 -07:00
v-kaywon b7d4a9bec8 changed sql_string_parser::is_placeholder_char from using a switch cases through each acceptable characters to using if else statement that covers a range of characters 2017-04-24 11:33:28 -07:00
v-kaywon 6d7cddf5f6 added error handling for emulate prepare with output parameter 2017-04-21 14:57:57 -07:00
v-kaywon 2aec3b4a95 added error handling for emulate prepared statement with inout parameters 2017-04-21 13:04:24 -07:00
v-kaywon fa38f7d61c remove bind_param_encoding from previous implementation of emulate prepare 2017-04-21 09:39:00 -07:00
v-kaywon 7aaa16d49e implemented emulate prepare and added tests 2017-04-20 17:17:05 -07:00
v-kaywon 8ddf8fdfee fix spacing 2017-04-07 09:20:34 -07:00
v-kaywon 68eca075ab rename g_henv_cp and g_henv_ncp to g_pdo_henv_.. and gg_ss_henv_.. to prevent name clashing problem in the pdo_sqlsrv and sqlsrv drivers 2017-04-06 15:44:04 -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 ff3a23f442 got rid of execReturn check since SQL_SUCCESS is 0 2017-04-03 12:43:08 -07:00
v-kaywon 8f67221e18 fix indentation 2017-04-03 10:08:36 -07:00
v-kaywon 20c4fe69c1 fix if sqlreturn is null 2017-03-31 15:48:22 -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 8fa17294ec Update pdo_util.cpp 2017-03-28 09:36:36 -07:00
v-kaywon 06a343f611 rename stmt_option_scrollable to driver specific names and put get_error_message into namespace 2017-03-21 15:28:13 -07:00
v-kaywon c9492ae487 fix memory leak caused by pecalloced persistent connection; fix test indentation 2017-03-17 16:46:02 -07:00
v-kaywon b701fab642 implement throwing exception when ATTR_PERSISTENT is in the connection options; added tests 2017-03-13 17:54:58 -07:00
Hadis Kakanejadi Fard 0782c56b41 updated versioning to semantic versioning #282 2017-03-03 16:55:28 -08:00
Hadis Kakanejadi Fard 67c4a0a9de fixed issue #270 2017-02-21 15:14:02 -08:00
yitam 471da9b005 Fix issue #35 2017-02-10 13:21:53 -08:00
v-dareck fc8433ac83 Fix error message in close cursor. Change prepare to query in test. 2017-02-09 16:41:39 -08:00