corrected comment
This commit is contained in:
parent
010d23f7a1
commit
e7f4165f0b
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue