Commit graph

70 commits

Author SHA1 Message Date
David Puglielli a8a0146671 Removed forward cursor condition 2019-04-02 16:08:53 -07:00
Jenny Tam 7309fb90b1
Fixed the returned values for PDOStatement::getColumnMeta (#946) 2019-03-08 11:43:36 -08:00
Jenny Tam 12d01c9189
Issue 937 - fixed ASSERT and added new tests (#940) 2019-02-27 16:54:26 -08:00
Jenny Tam d6c8cc2e15
Changed version 5.6.0 (#918) 2019-01-16 10:19:01 -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 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 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 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 0b15997d3c Fix for compilation problem again 2018-08-01 16:14:34 -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 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 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 8d33f1fc02 Updated versions from 5.1 to 5.2 2017-12-14 16:05:34 -08:00
David Puglielli 633024c22b Revert next result changes, improve tests 2017-11-15 17:39:00 -08: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
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
David Puglielli 494527d465 Tweaked tests, added comments per code review comments 2017-09-29 14:30:29 -07:00
David Puglielli 3acab1ae0c Fixed tests and added code comments 2017-09-28 14:16:50 -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
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
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
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
Jenny Tam 79ee775b81 Updated versions to 5.1.0-preview 2017-09-13 15:34:06 -07:00
David Puglielli 83631cdabc Added empty result set check to nextRowset() 2017-09-07 15:44:43 -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 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
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 c0707f6991 fix comments 2017-05-01 15:24:32 -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