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

Fixed CORE-2242: Engine incorrectly fills BPB

This commit is contained in:
alexpeshkoff 2008-12-15 18:07:57 +00:00
parent d8903d23fe
commit 7778288437
2 changed files with 4 additions and 4 deletions

View File

@ -485,7 +485,7 @@ void BLB_gen_bpb(SSHORT source, SSHORT target, UCHAR sourceCharset, UCHAR target
*p++ = isc_bpb_source_type;
*p++ = 2;
put_short(p, source);
put_vax_short(p, source);
p += 2;
if (source == isc_blob_text)
{
@ -496,7 +496,7 @@ void BLB_gen_bpb(SSHORT source, SSHORT target, UCHAR sourceCharset, UCHAR target
*p++ = isc_bpb_target_type;
*p++ = 2;
put_short(p, target);
put_vax_short(p, target);
p += 2;
if (target == isc_blob_text)
{

View File

@ -917,7 +917,7 @@ USHORT DYN_put_text_blob(Global* gbl, const UCHAR** ptr, bid* blob_id)
*p++ = isc_bpb_source_type;
*p++ = 2;
put_short(p, isc_blob_text);
put_vax_short(p, isc_blob_text);
p += 2;
*p++ = isc_bpb_source_interp;
*p++ = 1;
@ -925,7 +925,7 @@ USHORT DYN_put_text_blob(Global* gbl, const UCHAR** ptr, bid* blob_id)
*p++ = isc_bpb_target_type;
*p++ = 2;
put_short(p, isc_blob_text);
put_vax_short(p, isc_blob_text);
p += 2;
*p++ = isc_bpb_target_interp;
*p++ = 1;