Commit graph

141 commits

Author SHA1 Message Date
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 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 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
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 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
yitam 8dc946d3f0 Merge branch 'dev' of https://github.com/Microsoft/msphpsql into GH231 2017-02-21 13:16:04 -08:00
Jenny Tam e448281049 Merge pull request #295 from v-kaywon/PHP71DebugAbort
fix PHP7.1 debug abort error
2017-02-21 12:54:24 -08:00
v-kaywon f5b9bd93f0 fix PHP7.1 debug abort error 2017-02-21 12:02:16 -08:00
v-dareck 5951e32886 Remove uchar.h usage from buffered results. 2017-02-20 18:11:27 -08:00
yitam 0705d9b1a8 calculate field size instead of using column size and fixed the parameter encoding 2017-02-20 15:24:41 -08:00
Jenny Tam cc925ad9b3 Merge pull request #292 from v-dareck/bindparam_out_string_fault
Add check for SQL_NO_TOTAL for SQLBindParameter out parameter
2017-02-20 07:49:17 -08:00
v-dareck 98fd299a31 Add check for SQL_NO_TOTAL for SQLBindParameter out parameter. 2017-02-16 11:50:24 -08:00
v-dareck c35d998942 Fix clang compile errors. 2017-02-14 16:52:42 -08:00
yitam 471da9b005 Fix issue #35 2017-02-10 13:21:53 -08:00
yitam 9b035cce6f fix formatting 2017-02-10 10:22:16 -08:00
yitam 27d35af223 Fix and tests for issue #69 2017-02-10 09:51:51 -08:00
Jenny Tam e363a44cf5 Merge pull request #281 from v-dareck/github267_closeCursor
Github #267 close cursor error
2017-02-10 08:04:48 -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
David Puglielli 15c0573e76 Merge pull request #279 from yitam/sql_guid
define SQL_GUID for PECL packages
2017-02-09 15:25:27 -08:00
yitam 23510b21f1 Fix for issue 223 2017-02-09 10:44:33 -08:00
v-dareck 690571d41d Change tab to spaces. 2017-02-08 17:16:02 -08:00
v-dareck 887857eaf2 In closeCursor check if statement has been executed before moving to next result. 2017-02-08 16:38:12 -08:00