mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
fixed diagnostics
This commit is contained in:
parent
36e8b5912f
commit
90b9b09261
@ -234,14 +234,18 @@ void ClumpletWriter::insertBytesLengthCheck(UCHAR tag, const UCHAR* bytes, size_
|
||||
case IntSpb:
|
||||
if (length != 4)
|
||||
{
|
||||
usage_mistake("attempt to store %d bytes in clumplet, need 4");
|
||||
string m;
|
||||
m.printf("attempt to store %d bytes in a clumplet, need 4", length);
|
||||
usage_mistake(m.c_str());
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case ByteSpb:
|
||||
if (length != 1)
|
||||
{
|
||||
usage_mistake("attempt to store %d bytes in clumplet, need 1");
|
||||
string m;
|
||||
m.printf("attempt to store %d bytes in a clumplet, need 1", length);
|
||||
usage_mistake(m.c_str());
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user