Jenny Tam
18094a6cef
Feature request 415 for sqlsrv ( #861 )
2018-10-12 15:22: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
902a03263e
Feature request - add ReturnDatesAsStrings option to statement level for sqlsrv ( #844 )
...
* Added ReturnDatesAsStrings option to the statement level
* Added new tests for ReturnDatesAsStrings at statement level
* Added more datetime types as per review
2018-09-17 16:25:02 -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
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
64e2241ba2
Extend output buffer sizes with SQL decimals or numerics
2018-05-17 13:06:22 -07:00
Jenny Tam
4747537a96
Fixed the formatting
2018-05-15 16:13:36 -07:00
Jenny Tam
0b5ceb001d
Reverted the changes
2018-05-15 15:57:47 -07:00
Jenny Tam
4c7c08515d
Added workaround for the test plus use BIGINT for 64-bit systems
2018-05-15 14:28:26 -07:00
Jenny Tam
bca311081d
Modified the output param initial value
2018-05-15 12:41:28 -07:00
Jenny Tam
9a82e9daa3
Used sizeof not INT_MAX
2018-05-15 10:00:36 -07:00
Jenny Tam
999312be8b
Tried using INT_MAX instead
2018-05-15 09:33:52 -07:00
Jenny Tam
5f6c3994ca
A huge negative number is out of range too
2018-04-26 08:57:22 -07:00
Jenny Tam
218497c642
Made changes to output param handling code to convert doubles to ints if necessary
2018-04-25 15:43:56 -07:00
David Puglielli
2960738883
Reverted change handling bigint output parameters
2018-04-09 17:15:58 -07:00
Jenny Tam
88f0bcfc92
Added bigint into the options
2018-04-04 13:37:41 -07:00
Jenny Tam
4740ed25b8
Fix issue 705 by including the possible negative sign
2018-04-02 15:41:54 -07:00
Jenny Tam
6d5763abd6
Replace SQL_IS_SMALLINT with SQL_IS_INTEGER
2018-01-29 16:34:57 -08:00
Jenny Tam
9e2c080dda
Replace 0 with SQL_IS_SMALLINT
2018-01-29 15:56:25 -08:00
v-kaywon
253a0f3d44
fix typo
2018-01-17 10:12:31 -08:00
v-kaywon
abd2c65348
fix indentation
2018-01-16 16:50:17 -08:00
v-kaywon
53e5a51760
remove workaround for limitation on fetching stream
2018-01-15 11:57:52 -08:00
Jenny Tam
2236e71234
Merge pull request #631 from yitam/RC1
...
Updated versions from 5.1 to 5.2
2017-12-14 16:49:54 -08:00
Jenny Tam
8d33f1fc02
Updated versions from 5.1 to 5.2
2017-12-14 16:05:34 -08:00
v-kaywon
ad29c28dc4
fix warning according to prefast code analysis
2017-12-13 13:33:32 -08:00
v-kaywon
9f8078dde9
fix spacing in core_stmt.cpp
2017-12-08 16:15:24 -08:00
v-kaywon
b9579a2426
add error handling for fetching stream with always encrypted
2017-12-07 17:29:06 -08:00
Yuki Wong
f2884e0979
Merge pull request #594 from v-kaywon/adjustprecision
...
Adjust precision for decimal input when column encryption is enabled
2017-11-22 13:58:53 -08:00
Jenny Tam
11c6fe6f46
chech param num against vector size
2017-11-21 16:41:18 -08:00
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