mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Totally misc.
This commit is contained in:
parent
e7a15ea6ab
commit
658cc34c85
@ -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.
|
// of irrelevant (for substring) invalid bytes in the end of the string.
|
||||||
// This can occur with substring of blobs.
|
// This can occur with substring of blobs.
|
||||||
// We'll then assume the string is already well formed, because verifying
|
// We'll then assume the string is already well formed, because verifying
|
||||||
// this may be cost.
|
// this may be costly.
|
||||||
ULONG badInputPos;
|
ULONG badInputPos;
|
||||||
unilength = getConvToUnicode().convert(srcLen, src, unilength,
|
unilength = getConvToUnicode().convert(srcLen, src, unilength,
|
||||||
reinterpret_cast<USHORT*>(str.getBuffer(unilength)), &badInputPos);
|
reinterpret_cast<USHORT*>(str.getBuffer(unilength)), &badInputPos);
|
||||||
|
Loading…
Reference in New Issue
Block a user