yitam
7c105ac08e
added a comment about this file being a subset
2017-06-08 12:02:12 -07:00
yitam
74800c993c
fixed CEKeystoreProvider interface
2017-06-08 11:59:34 -07:00
yitam
48478125e0
Updated odbc header constants
2017-06-08 09:33:37 -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
7ffa4d470a
added the header to m4 and updated SQLSRV headers to 4.2
2017-05-24 10:09:46 -07:00
Hadis Kakanejadi Fard
d74e4083f2
updated headers versions to 4.2
2017-05-24 10:05:32 -07:00
Hadis Kakanejadi Fard
3577a9281a
updated header files to 4.2
2017-05-24 10:01:44 -07:00
yitam
ae9957d684
revert indentation
2017-05-18 13:53:03 -07:00
yitam
52cf72edf9
indentation
2017-05-18 13:24:56 -07:00
yitam
a0b6d5644b
update version
2017-05-18 13:08:26 -07:00
Hadis Fard
29bb60282d
Merge pull request #399 from Hadis-Fard/dev
...
sql variant support
2017-05-18 13:01:45 -07:00
David Puglielli
a88b187f50
Removed ODBCVER #define
2017-05-17 14:59:32 -07:00
Hadis Fard
b31ee170f3
fixed indentations
2017-05-17 13:52:22 -07:00
Hadis Kakanejadi Fard
42ebf9465d
removed sqlsrv variant const
2017-05-16 15:54:13 -07:00
Hadis Kakanejadi Fard
dba7ba4365
added variant const
2017-05-16 15:53:40 -07:00
David Puglielli
ddab6d3f9d
Removed more unneeded code - MPLAT_UNIX defines and unnecessary typedefs
2017-05-16 15:47:32 -07:00
David Puglielli
674fce0ded
Removed extraneous comments
2017-05-15 16:30:05 -07:00
David Puglielli
a297fe0c54
Removed unused xplat functions
2017-05-15 16:22:58 -07:00
Hadis Kakanejadi Fard
5d4ca446fc
Merge branch 'dev' of https://github.com/Microsoft/msphpsql into dev
2017-05-15 14:19:49 -07:00
Hadis Kakanejadi Fard
7904bddb6e
added sql_variant const
2017-05-15 14:19:36 -07:00
v-kaywon
4537021d1b
Merge pull request #395 from v-kaywon/fix_uninit_read
...
fix uninitialized read if pos of string parser is -1
2017-05-12 16:39:26 -07:00
v-kaywon
8de9669b39
get start_pos out of while loop
2017-05-12 16:02:34 -07:00
David Puglielli
c846076c53
Removed extraneous null terminator that caused Address Sanitizer to complain
2017-05-12 13:50:13 -07:00
v-kaywon
9e3252d4f4
fix uninitialized read if pos of string parser is -1
2017-05-12 10:56:26 -07:00
ulvii
f2a453cdb1
update version.h
2017-05-10 16:30:32 -07:00
ulvii
4c3705f93e
update version.h
2017-05-10 16:29:41 -07:00
ulvii
554e29db68
update version.h
2017-05-10 16:28:19 -07:00
ulvii
c436a8fec9
reverting pecl repackaging
2017-05-10 16:21:46 -07:00
ulvii
9cdefd3fe3
Adding PECL_REPACKAGE macro ( #392 )
...
Merging this with unpassed checks. The checks are failing because they are using wrong setup file. Will be fixed by #386
2017-05-10 13:04:16 -07:00
ulvii
4648a800fa
Adding PECL_REPACKAGE macro
2017-05-10 12:39:03 -07:00
ulvii
760a3b4af9
update version to 4.1.9 ( #387 )
2017-05-08 13:17:55 -07:00
yitam
75ee4f90ad
modified sqlsrv test
2017-05-08 08:57:30 -07:00
yitam
9e8cb88ca7
also download MS Online Services sign-in assistant
2017-05-08 08:12:26 -07:00
yitam
28fc51df3d
updated to ODBC 13.1
2017-05-05 17:17:52 -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
Hadis Kakanejadi Fard
4922e97b5d
removed unused function ( #383 )
2017-05-04 18:15:39 -07:00
Hadis Kakanejadi Fard
c5af000e56
fixed issue #378
2017-05-03 14:41:19 -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
ea761587d5
Change version ( #363 )
...
* change version number for release
* revert version
* change version number to 4.1.8-preview
2017-04-07 13:04:31 -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
df3e23af45
changed default execReturn to SQL_ERROR
2017-04-04 11:10:56 -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
David Puglielli
55d0461bf6
Merge pull request #343 from ulvii/ColCache
...
Column meta cache
2017-03-31 17:35:24 -07:00
v-kaywon
20c4fe69c1
fix if sqlreturn is null
2017-03-31 15:48:22 -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
f7983472a3
Merge pull request #335 from v-kaywon/driverorder
...
rename stmt_option_scrollable to driver specific names
2017-03-30 13:47:02 -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
4057a9210d
Update util.cpp
2017-03-28 09:37:11 -07:00
v-kaywon
8fa17294ec
Update pdo_util.cpp
2017-03-28 09:36:36 -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
d0aed143dc
Clear Cache before next results set
...
We need to clear cache if a statement has multiple rowsets.
2017-03-27 15:24:41 -07:00
ulvii
6809f0f7ea
Workaround for a bug in unixODBC 2.3.4 ( #334 )
...
* Adding a workaround for the error handling issue with unixODBC 2.3.4 when conneciton pooling is enabled
* Adding a check to apply the workaround only to PDO SQLSRV
* Update core_util.cpp
* Unix Conn Pool test
* Modifying the test to use autonomous_setup.php
* Updating path to isPooled.php
2017-03-27 14:07:43 -07:00
ulvii
b883ee47e4
Update core_stmt.cpp
2017-03-27 12:58:42 -07:00
ulvii
80b510ef2f
removing tabs
2017-03-27 12:57:18 -07:00
ulvii
f835c34319
Update core_stmt.cpp
2017-03-24 17:12:10 -07:00
ulvii
48e9914986
Update spaces
2017-03-24 17:03:24 -07:00
ulvii
4339bad694
Update identation
2017-03-24 16:01:45 -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-kaywon
bd8d1e1bf4
Merge pull request #337 from v-kaywon/string_warning
...
convert const char[] to char[] to avoid conversion warnings
2017-03-23 12:30:30 -07:00
v-kaywon
9f3c0cee54
Update init.cpp
2017-03-23 11:55:33 -07:00
v-kaywon
b4f7684db3
Update init.cpp
...
fix indentation
2017-03-23 10:57:35 -07:00
v-kaywon
d68300ff53
Update core_results.cpp
2017-03-23 10:52:02 -07:00
v-kaywon
6b2aa39e19
convert const char[] to char[] to avoid conversion warnings
2017-03-23 10:21:48 -07:00
v-kaywon
ccd80a32d9
Update util.cpp
2017-03-21 17:00:13 -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
c1a1a06061
fix crash from getting the numrow of a null buffered result set; add test
2017-03-20 15:58:57 -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
91f27c0958
updated PECL package version
2017-03-07 11:13:53 -08:00
ulvii
9d7a79270b
Merge pull request #314 from yitam/locale
...
changed locale for mac
2017-03-06 10:12:00 -08:00
yitam
d6f6bc847b
changed locale for mac
2017-03-03 17:54:42 -08:00
Hadis Kakanejadi Fard
0782c56b41
updated versioning to semantic versioning #282
2017-03-03 16:55:28 -08:00
yitam
161ccacddb
String release first
2017-02-28 15:27:13 -08:00
yitam
9c2cfe4610
String release first
2017-02-28 13:26:50 -08:00
yitam
ee1fcb83d5
Use a simpler way
2017-02-28 13:20:57 -08:00
yitam
357bc95c1e
Fix spacing
2017-02-28 10:08:46 -08:00
yitam
26c5f1785f
Issue #308
2017-02-28 10:04:59 -08:00
v-dareck
8e22e4ca17
Fix memory leaks in buffered resultsets.
2017-02-24 13:29:09 -08:00
Jenny Tam
e854a9ca53
Merge pull request #296 from v-dareck/remove_uchar
...
Remove uchar.h
2017-02-23 13:27:49 -08:00
Jenny Tam
12e6535a7f
Merge pull request #297 from Hadis-Fard/dev
...
issue #270 fix
2017-02-22 14:18:56 -08:00
v-dareck
7f89d82889
Change errno check to ERROR_SUCCESS
2017-02-22 11:51:31 -08:00
v-dareck
043d1ece8d
Modify string_to_number utf8 conversion.
2017-02-21 18:47:53 -08:00
Hadis Kakanejadi Fard
67c4a0a9de
fixed issue #270
2017-02-21 15:14:02 -08:00
yitam
f7a1c7296b
use static cast for SQLSRV_ENCODING
2017-02-21 13:20:50 -08:00