8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 21:23:03 +01:00

Totally misc.

This commit is contained in:
robocop 2007-09-18 06:02:01 +00:00
parent e7a15ea6ab
commit 658cc34c85

View File

@ -209,7 +209,7 @@ ULONG MultiByteCharSet::substring(ULONG srcLen, const UCHAR* src, ULONG dstLen,
// of irrelevant (for substring) invalid bytes in the end of the string.
// This can occur with substring of blobs.
// We'll then assume the string is already well formed, because verifying
// this may be cost.
// this may be costly.
ULONG badInputPos;
unilength = getConvToUnicode().convert(srcLen, src, unilength,
reinterpret_cast<USHORT*>(str.getBuffer(unilength)), &badInputPos);