Commit graph

132 commits

Author SHA1 Message Date
v-kaywon 0b135b1529 if not scientific notation, only parse up to decimal_digits 2017-11-21 13:17:39 -08:00
v-kaywon 20480812c2 remove include string in core_stmt.cpp 2017-11-20 16:06:39 -08:00
v-kaywon fc7c4fb89b return if the length of the decimal string is greater than maxDecimalStrLen 2017-11-17 13:27:45 -08:00
v-kaywon bb1e1c0168 do not throw an error if the decimal string is ill formed; let SQL Server handle it 2017-11-17 12:30:14 -08:00
v-kaywon 90029e7e54 add test for scientific notation 2017-11-17 10:21:03 -08:00
Jenny Tam ef45560db0 Modified how to bind parameters when AE is enabled 2017-11-16 10:30:44 -08:00
v-kaywon 9acfab9ec2 include vector library 2017-11-15 16:38:27 -08:00
v-kaywon 9d6aba62ce implement adjustInputPrecision 2017-11-15 16:36:10 -08:00
Jenny Tam 1a2459614e Adjusted the initial length for string and LOB fields 2017-11-15 11:00:56 -08:00
Jenny Tam 52b612ece8 Fix to GitHub issue 574 2017-11-09 15:24:08 -08:00
Jenny Tam ef144000c3 Fixed the typo in the comment 2017-11-03 12:17:43 -07:00
Jenny Tam b44a5dd1fb Modified comments as per review feedback 2017-11-03 11:14:55 -07:00
Jenny Tam e5a3767089 Added error handling for LOB types as output parameters 2017-11-03 10:00:08 -07:00
v-kaywon 7a496acfbe change test title in pdo_decimal_precision.phpt and sqlsrv_decimal_precision.phpt 2017-10-20 15:10:56 -07:00
v-kaywon 02e145d988 fix for right truncation error when precision of the column definition and input is not aligned 2017-10-18 18:10:30 -07:00
v-kaywon 6a4f625e56 change encoding 2017-10-18 15:40:58 -07:00
v-kaywon f2f3bc1ff5 change encoding 2017-10-18 13:08:07 -07:00
v-kaywon f4c736a073 only change encoding if it is invalid 2017-10-18 12:17:52 -07:00
v-kaywon b73539c311 remove setting encoding in core_stmt.cpp 2017-10-18 11:17:55 -07:00
v-kaywon d7212e60cb change output biging to encoding utf8 2017-10-17 16:11:05 -07:00
v-kaywon f67240e566 change encoding to converting from long to string to UTF8 2017-10-17 16:02:12 -07:00
v-kaywon 9e847c1ca8 detect appveyor problem 2017-10-17 15:51:41 -07:00
v-kaywon 6b223a77c9 detect appveyor problem 2017-10-17 15:44:52 -07:00
v-kaywon 597d54476e detect appveyor problem 2017-10-17 15:37:59 -07:00
v-kaywon 3e247c6a25 detect appveyor problem 2017-10-17 15:30:27 -07:00
v-kaywon 98edd5df85 detect appveyor problem 2017-10-17 15:22:00 -07:00
v-kaywon 8397f7b8bf detect appveyor problem 2017-10-17 15:13:29 -07:00
v-kaywon b5a0d1f859 cosmetic changes 2017-10-13 15:50:50 -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
David Puglielli a749010a67 Moved errors back to pdo_stmt and stmt.cpp 2017-09-27 17:01:20 -07:00
David Puglielli 66a12d3330 Fixed errant variable name 2017-09-26 18:38:48 -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 be2be4bb27 Merge remote-tracking branch 'upstream/dev' into nextrowset-fix 2017-09-26 15:04:40 -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
v-kaywon 36fef13297 fix handling decimal type with no decimal with always encrypted 2017-09-19 12:48:21 -07:00
Jenny Tam 79ee775b81 Updated versions to 5.1.0-preview 2017-09-13 15:34:06 -07:00
v-kaywon 3ddb8aae78 change conditions for using sql types derived from SQLDescribeParam 2017-09-11 15:41:19 -07:00
v-kaywon ba7684e8c2 change comment 2017-09-11 13:41:43 -07:00
v-kaywon f2381ba7b2 change comment 2017-09-11 13:06:20 -07:00
v-kaywon 376461fab4 fix according to code review 2017-09-07 15:26:46 -07:00
v-kaywon 01c9f22f63 add code for AE insertion 2017-09-05 16:51:40 -07:00
v-kaywon f7c9f06108 change comment in core_stmt.cpp 2017-09-01 16:10:41 -07:00
v-kaywon d2fe48c85a add comment 2017-09-01 16:10:41 -07:00
v-kaywon 96a0943180 refactored AE related code 2017-09-01 16:10:41 -07:00
v-kaywon 4d6aee9b3d fixed indentation in core_stmt.cpp 2017-09-01 16:10:41 -07:00
v-kaywon 8fe7039b1b Implementation of fetching AE max columns 2017-09-01 16:10:41 -07:00
David Puglielli c1e7280dc6 Version updated 2017-07-20 11:44: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
Hadis Kakanejadi Fard 7904bddb6e added sql_variant const 2017-05-15 14:19:36 -07:00
Hadis Kakanejadi Fard c5af000e56 fixed issue #378 2017-05-03 14:41:19 -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 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
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 b883ee47e4 Update core_stmt.cpp 2017-03-27 12:58:42 -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 5e42b191ea Implementing new cache to remove unnecessary ODBC calls 2017-03-24 15:46:53 -07: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
yitam 0705d9b1a8 calculate field size instead of using column size and fixed the parameter encoding 2017-02-20 15:24:41 -08:00
v-dareck 98fd299a31 Add check for SQL_NO_TOTAL for SQLBindParameter out parameter. 2017-02-16 11:50:24 -08:00
yitam 23510b21f1 Fix for issue 223 2017-02-09 10:44:33 -08:00
yitam 010d23f7a1 removed inconsistent code calling convert_string_from_utf16 2017-02-02 14:20:50 -08:00
v-dareck 1f9d1583d1 replace __linux__ with _WIN32 define. 2017-02-01 17:36:41 -08:00
v-dareck fa4c0e8c4c Merge remaining PHP-7.0-Linux changes into merged codebase. 2017-01-31 18:10:37 -08:00
Hadis Kakanejadi Fard 0e70a95d63 applied peer review comments 2017-01-30 13:05:38 -08:00
Hadis Kakanejadi Fard 56f1029acf made the ifdef consitent 2017-01-26 17:06:17 -08:00
Hadis Kakanejadi Fard 33f5fce36e fixed indentations in updated code 2017-01-26 14:59:23 -08:00
Hadis Kakanejadi Fard cb88f51e16 merged core_stmt from Linux 2017-01-20 14:43:49 -08:00
Hadis Kakanejadi Fard c45853a74c fixed indentations 2017-01-17 14:19:45 -08:00
Hadis Kakanejadi Fard 11e29c0ff6 fix #173, #138 on Windows code 2017-01-17 14:17:57 -08:00
Hadis-Fard 4c42a9ad6a updated the code structure 2016-12-20 16:00:53 -08:00
Renamed from sqlsrv/core_stmt.cpp (Browse further)