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:
parent
75ff54fd69
commit
3131898e35
@ -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);
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user