2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Access Method
|
|
|
|
* MODULE: flags.h
|
|
|
|
* DESCRIPTION: Various flag definitions
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Interbase Public
|
|
|
|
* License Version 1.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy
|
|
|
|
* of the License at http://www.Inprise.com/IPL.html
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an
|
|
|
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
* or implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code was created by Inprise Corporation
|
|
|
|
* and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
* Copyright (C) Inprise Corporation.
|
|
|
|
*
|
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
#ifndef JRD_FLAGS_H
|
|
|
|
#define JRD_FLAGS_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-20 09:12:19 +01:00
|
|
|
// flags for RDB$FILE_FLAGS
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-20 09:12:19 +01:00
|
|
|
const USHORT FILE_shadow = 1;
|
|
|
|
const USHORT FILE_inactive = 2;
|
|
|
|
const USHORT FILE_manual = 4;
|
2004-10-03 06:49:04 +02:00
|
|
|
//const USHORT FILE_cache = 8;
|
2008-12-20 09:12:19 +01:00
|
|
|
const USHORT FILE_conditional = 16;
|
|
|
|
// Flags for backup difference files
|
2003-08-06 18:30:49 +02:00
|
|
|
// File is difference
|
2008-12-20 09:12:19 +01:00
|
|
|
const USHORT FILE_difference = 32;
|
2003-08-06 18:30:49 +02:00
|
|
|
// Actively used for backup purposes (ALTER DATABASE BEGIN BACKUP issued)
|
2008-12-20 09:12:19 +01:00
|
|
|
const USHORT FILE_backing_up = 64;
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-20 09:12:19 +01:00
|
|
|
// flags for RDB$LOG_FILES
|
2004-10-03 06:49:04 +02:00
|
|
|
/*
|
2008-12-20 09:12:19 +01:00
|
|
|
const USHORT LOG_serial = 1;
|
|
|
|
const USHORT LOG_default = 2;
|
|
|
|
const USHORT LOG_raw = 4;
|
|
|
|
const USHORT LOG_overflow = 8;
|
2004-10-03 06:49:04 +02:00
|
|
|
*/
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-20 09:12:19 +01:00
|
|
|
// flags for RDB$RELATIONS
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-20 09:12:19 +01:00
|
|
|
const USHORT REL_sql = 0x0001;
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-20 09:12:19 +01:00
|
|
|
// flags for RDB$TRIGGERS
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-05-05 23:55:13 +02:00
|
|
|
const USHORT TRG_sql = 0x1;
|
2008-12-20 09:12:19 +01:00
|
|
|
const USHORT TRG_ignore_perm = 0x2; // trigger ignores permissions checks
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-20 09:12:19 +01:00
|
|
|
#endif // JRD_FLAGS_H
|