mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:03:02 +01:00
Fixed another bug with INT64 array slices. Thanks to Artem Petkevych.
This commit is contained in:
parent
090e73f3f5
commit
f063aa768b
@ -22,7 +22,7 @@
|
||||
* Toni Martir: Added verbose backup records as BACKUP_VERBOSE_INTERVAL
|
||||
*/
|
||||
/*
|
||||
$Id: backup.epp,v 1.4 2002-01-04 11:34:14 skywalker Exp $
|
||||
$Id: backup.epp,v 1.5 2002-06-27 10:14:54 dimitr Exp $
|
||||
*/
|
||||
|
||||
#include "firebird.h"
|
||||
@ -1109,7 +1109,9 @@ static void put_array( FLD field, REL relation, ISC_QUAD * blob_id)
|
||||
STUFF(field->fld_type);
|
||||
|
||||
if (field->fld_type == blr_short ||
|
||||
field->fld_type == blr_long || field->fld_type == blr_quad)
|
||||
field->fld_type == blr_long ||
|
||||
field->fld_type == blr_quad ||
|
||||
field->fld_type == blr_int64)
|
||||
STUFF(field->fld_scale);
|
||||
|
||||
if (field->fld_type == blr_text || field->fld_type == blr_varying)
|
||||
|
@ -24,7 +24,7 @@
|
||||
*
|
||||
*/
|
||||
/*
|
||||
$Id: restore.epp,v 1.5 2002-04-04 05:32:02 bellardo Exp $
|
||||
$Id: restore.epp,v 1.6 2002-06-27 10:14:54 dimitr Exp $
|
||||
*/
|
||||
|
||||
#include "firebird.h"
|
||||
@ -1540,7 +1540,8 @@ if (return_length != slice_length)
|
||||
}
|
||||
else if (field->fld_type == blr_short ||
|
||||
field->fld_type == blr_long ||
|
||||
field->fld_type == blr_quad)
|
||||
field->fld_type == blr_quad ||
|
||||
field->fld_type == blr_int64)
|
||||
{
|
||||
STUFF (field->fld_type);
|
||||
STUFF (field->fld_scale);
|
||||
@ -1764,7 +1765,8 @@ else
|
||||
}
|
||||
else if (field->fld_type == blr_short ||
|
||||
field->fld_type == blr_long ||
|
||||
field->fld_type == blr_quad)
|
||||
field->fld_type == blr_quad ||
|
||||
field->fld_type == blr_int64)
|
||||
{
|
||||
STUFF (field->fld_type);
|
||||
STUFF (field->fld_scale);
|
||||
|
Loading…
Reference in New Issue
Block a user