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

Cleanup as suggested by Alex.

This commit is contained in:
Adriano dos Santos Fernandes 2020-08-20 13:01:34 -03:00
parent 75ff54fd69
commit 3131898e35
3 changed files with 7 additions and 6 deletions

View File

@ -48,7 +48,6 @@
#include "../burp/resto_proto.h"
#include "../common/gdsassert.h"
#include "../jrd/constants.h"
#include "../dsql/StmtNodes.h"
#include "../remote/protocol.h"
#ifdef DEBUG
#include "../common/prett_proto.h"
@ -3512,7 +3511,6 @@ rec_type get_data_old(BurpGlobals* tdgbl, burp_rel* relation)
* Write data records for a relation.
*
**************************************/
using Jrd::OverrideClause;
Firebird::IRequest* req_handle = 0;
BASED_ON RDB$INDICES.RDB$INDEX_NAME index_name;
@ -3672,7 +3670,7 @@ rec_type get_data_old(BurpGlobals* tdgbl, burp_rel* relation)
if (identity_type == IDENT_TYPE_ALWAYS)
{
add_byte(blr, blr_store3);
add_byte(blr, OverrideClause::SYSTEM_VALUE);
add_byte(blr, blr_store_override_system);
}
else
add_byte(blr, blr_store);

View File

@ -116,9 +116,8 @@ struct ValidateInfo
enum OverrideClause : UCHAR
{
// Warning: used in BLR
USER_VALUE = 1,
SYSTEM_VALUE
USER_VALUE = blr_store_override_user,
SYSTEM_VALUE = blr_store_override_system
};

View File

@ -435,6 +435,10 @@
#define blr_default (unsigned char) 212
#define blr_store3 (unsigned char) 213
// subcodes of blr_store3
#define blr_store_override_user (unsigned char) 1
#define blr_store_override_system (unsigned char) 2
#define blr_local_timestamp (unsigned char) 214
#define blr_local_time (unsigned char) 215