mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +01:00
Allow the monitoring feature for Dialect 1 databases.
This commit is contained in:
parent
bc547bb403
commit
3cf3bbcb27
@ -1424,7 +1424,14 @@ static void store_global_field(thread_db* tdbb, const gfld* gfield, jrd_req** ha
|
|||||||
else if (gfield->gfld_dtype == dtype_long)
|
else if (gfield->gfld_dtype == dtype_long)
|
||||||
X.RDB$FIELD_TYPE = (int) blr_long;
|
X.RDB$FIELD_TYPE = (int) blr_long;
|
||||||
else
|
else
|
||||||
X.RDB$FIELD_TYPE = (int) blr_int64;
|
{
|
||||||
|
// Workaround to allow fld_counter domain
|
||||||
|
// in dialect 1 databases
|
||||||
|
if (dbb->dbb_flags & DBB_DB_SQL_dialect_3)
|
||||||
|
X.RDB$FIELD_TYPE = (int) blr_int64;
|
||||||
|
else
|
||||||
|
X.RDB$FIELD_TYPE = (int) blr_double;
|
||||||
|
}
|
||||||
if ((gfield->gfld_sub_type == dsc_num_type_numeric) ||
|
if ((gfield->gfld_sub_type == dsc_num_type_numeric) ||
|
||||||
(gfield->gfld_sub_type == dsc_num_type_decimal))
|
(gfield->gfld_sub_type == dsc_num_type_decimal))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user