Skip to content

Commit

Permalink
corrected comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yitam committed Feb 2, 2017
1 parent 010d23f commit e7f4165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/shared/core_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e7f4165

Please sign in to comment.