From c31a7da1683f6014b38293acaf9a87e4358cd664 Mon Sep 17 00:00:00 2001 From: Adriano dos Santos Fernandes Date: Thu, 15 Dec 2022 22:17:34 -0300 Subject: [PATCH] Rename domain RDB$LONG_NUMBER to RDB$INTEGER. --- src/jrd/BlobUtil.cpp | 8 ++++---- src/jrd/fields.h | 2 +- src/jrd/names.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/jrd/BlobUtil.cpp b/src/jrd/BlobUtil.cpp index 77a6d2a2d1..1dec99daf9 100644 --- a/src/jrd/BlobUtil.cpp +++ b/src/jrd/BlobUtil.cpp @@ -274,10 +274,10 @@ BlobUtilPackage::BlobUtilPackage(Firebird::MemoryPool& pool) // parameters { {"HANDLE", fld_butil_handle, false}, - {"MODE", fld_long_number, false}, - {"OFFSET", fld_long_number, false} + {"MODE", fld_integer, false}, + {"OFFSET", fld_integer, false} }, - {fld_long_number, false} + {fld_integer, false} ), SystemFunction( pool, @@ -286,7 +286,7 @@ BlobUtilPackage::BlobUtilPackage(Firebird::MemoryPool& pool) // parameters { {"HANDLE", fld_butil_handle, false}, - {"LENGTH", fld_long_number, true} + {"LENGTH", fld_integer, true} }, {fld_varybinary_max, true} ) diff --git a/src/jrd/fields.h b/src/jrd/fields.h index 9aae6992a2..ae9818b354 100644 --- a/src/jrd/fields.h +++ b/src/jrd/fields.h @@ -231,4 +231,4 @@ FIELD(fld_butil_handle , nam_butil_handle , dtype_long , sizeof(SLONG) , 0 , NULL , true) FIELD(fld_blob , nam_blob , dtype_blob , BLOB_SIZE , isc_blob_untyped , NULL , true) FIELD(fld_varybinary_max, nam_varbinary_max , dtype_varying , MAX_VARY_COLUMN_SIZE , 0 , NULL , true) - FIELD(fld_long_number , nam_long_number , dtype_long , sizeof(SLONG) , 0 , NULL , true) + FIELD(fld_integer , nam_integer , dtype_long , sizeof(SLONG) , 0 , NULL , true) diff --git a/src/jrd/names.h b/src/jrd/names.h index b7cac92178..3c1d599e76 100644 --- a/src/jrd/names.h +++ b/src/jrd/names.h @@ -470,4 +470,4 @@ NAME("RDB$PROFILE_SESSION_ID", nam_prof_ses_id) NAME("RDB$BLOB_UTIL_HANDLE", nam_butil_handle) NAME("RDB$BLOB", nam_blob) NAME("RDB$VARBINARY_MAX", nam_varbinary_max) -NAME("RDB$LONG_NUMBER", nam_long_number) +NAME("RDB$INTEGER", nam_integer)