Skip to content

Commit 88f0bcf

Browse files
committed
Added bigint into the options
1 parent 4740ed2 commit 88f0bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/shared/core_stmt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2536,7 +2536,7 @@ void resize_output_buffer_if_necessary( _Inout_ sqlsrv_stmt* stmt, _Inout_ zval*
25362536
// account for the NULL terminator returned by ODBC and needed by Zend to avoid a "String not null terminated" debug warning
25372537
SQLULEN field_size = column_size;
25382538
// with AE on, when column_size is retrieved from SQLDescribeParam, column_size does not include the negative sign or decimal place for numeric values
2539-
if (stmt->conn->ce_option.enabled && (sql_type == SQL_DECIMAL || sql_type == SQL_NUMERIC || sql_type == SQL_INTEGER || sql_type == SQL_SMALLINT)) {
2539+
if (stmt->conn->ce_option.enabled && (sql_type == SQL_DECIMAL || sql_type == SQL_NUMERIC || sql_type == SQL_BIGINT || sql_type == SQL_INTEGER || sql_type == SQL_SMALLINT)) {
25402540
// include the possible negative sign
25412541
field_size += elem_size;
25422542
// include the decimal for output params by adding elem_size

0 commit comments

Comments
 (0)