fixed indentations
This commit is contained in:
parent
a60184f187
commit
76a6a2da94
|
@ -1824,8 +1824,7 @@ void fetch_fields_common( _Inout_ ss_sqlsrv_stmt* stmt, zend_long fetch_type, _O
|
|||
SQLSRV_ENCODING encoding = (( stmt->encoding() == SQLSRV_ENCODING_DEFAULT ) ? stmt->conn->encoding() : stmt->encoding());
|
||||
for( int i = 0; i < num_cols; ++i ) {
|
||||
|
||||
core::SQLColAttributeW ( stmt, i + 1, SQL_DESC_NAME, field_name_w, ( SS_MAXCOLNAMELEN + 1 ) * 2, &field_name_len_w, NULL
|
||||
TSRMLS_CC );
|
||||
core::SQLColAttributeW ( stmt, i + 1, SQL_DESC_NAME, field_name_w, ( SS_MAXCOLNAMELEN + 1 ) * 2, &field_name_len_w, NULL TSRMLS_CC );
|
||||
#ifdef __linux__
|
||||
//Conversion function in Linux expects size in characters.
|
||||
field_name_len_w = field_name_len_w / sizeof ( SQLWCHAR );
|
||||
|
|
Loading…
Reference in a new issue