mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:43:04 +01:00
Misc
This commit is contained in:
parent
cbb0310d22
commit
6f4dcb7991
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* PROGRAM: JRD International support
|
||||
* MODULE: IntlManager.h
|
||||
* DESCRIPTION:
|
||||
* DESCRIPTION: INTL Manager
|
||||
*
|
||||
* The contents of this file are subject to the Initial
|
||||
* Developer's Public License Version 1.0 (the "License");
|
||||
|
@ -149,16 +149,15 @@ inline SLONG* LCK_OWNER_HANDLE_ATT(Attachment* attachment) {
|
||||
|
||||
static const UCHAR compatibility[] = {
|
||||
|
||||
/* Shared Prot Shared Prot
|
||||
none null Read Read Write Write Exclusive */
|
||||
|
||||
/* none */ 1, 1, 1, 1, 1, 1, 1,
|
||||
/* null */ 1, 1, 1, 1, 1, 1, 1,
|
||||
/* SR */ 1, 1, 1, 1, 1, 1, 0,
|
||||
/* PR */ 1, 1, 1, 1, 0, 0, 0,
|
||||
/* SW */ 1, 1, 1, 0, 1, 0, 0,
|
||||
/* PW */ 1, 1, 1, 0, 0, 0, 0,
|
||||
/* EX */ 1, 1, 0, 0, 0, 0, 0
|
||||
/* Shared Prot Shared Prot
|
||||
none null Read Read Write Write Exclusive */
|
||||
/* none */ 1, 1, 1, 1, 1, 1, 1,
|
||||
/* null */ 1, 1, 1, 1, 1, 1, 1,
|
||||
/* SR */ 1, 1, 1, 1, 1, 1, 0,
|
||||
/* PR */ 1, 1, 1, 1, 0, 0, 0,
|
||||
/* SW */ 1, 1, 1, 0, 1, 0, 0,
|
||||
/* PW */ 1, 1, 1, 0, 0, 0, 0,
|
||||
/* EX */ 1, 1, 0, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
#define COMPATIBLE(st1, st2) compatibility [st1 * LCK_max + st2]
|
||||
|
Loading…
Reference in New Issue
Block a user