LineairDB
0.1.0
tx_status.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Nippon Telegraph and Telephone Corporation.
3
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
8
* http://www.apache.org/licenses/LICENSE-2.0
9
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef LINEAIRDB_TX_STATUS_H
18
#define LINEAIRDB_TX_STATUS_H
19
20
namespace
LineairDB
{
21
/*
22
@brief When a transaction terminates, database must return Committed or
23
Aborted. The following enum describes them.
24
*/
25
enum
TxStatus
{
Running
,
Committed
,
Aborted
};
26
27
}
// namespace LineairDB
28
29
#endif
LineairDB::TxStatus
TxStatus
Definition:
tx_status.h:25
LineairDB::Running
@ Running
Definition:
tx_status.h:25
LineairDB::Aborted
@ Aborted
Definition:
tx_status.h:25
LineairDB
Definition:
config.h:24
LineairDB::Committed
@ Committed
Definition:
tx_status.h:25
include
lineairdb
tx_status.h
Generated by
1.8.17