add comment
This commit is contained in:
parent
0100910be1
commit
f8816b16de
|
@ -2278,8 +2278,8 @@ void get_field_as_string( _Inout_ sqlsrv_stmt* stmt, _In_ SQLUSMALLINT field_ind
|
|||
} while( r == SQL_SUCCESS_WITH_INFO && is_truncated_warning( state ));
|
||||
}
|
||||
else {
|
||||
|
||||
// We got the field_len_temp from SQLGetData call.
|
||||
// the real field length is returned here, thus no need to double the allocation size here, just have to
|
||||
// allocate field_len_temp (which is the field length retrieved from the first SQLGetData
|
||||
field_value_temp = static_cast<char*>( sqlsrv_realloc( field_value_temp, field_len_temp + extra + 1 ));
|
||||
|
||||
// reset AE stream fetch buffer
|
||||
|
|
Loading…
Reference in a new issue