corrected comment

This commit is contained in:
yitam 2017-02-02 14:25:09 -08:00
parent 010d23f7a1
commit e7f4165f0b

View file

@ -251,7 +251,7 @@ bool core_sqlsrv_get_odbc_error( sqlsrv_context& ctx, int record_number, sqlsrv_
return false;
}
// In linux we need to calculate number of characters
// We need to calculate number of characters
SQLLEN wsqlstate_len = sizeof( wsqlstate ) / sizeof( SQLWCHAR );
SQLLEN sqlstate_len = 0;
convert_string_from_utf16(enc, wsqlstate, wsqlstate_len, (char**)&error->sqlstate, sqlstate_len);