#include "w_defines.h"
#include <chrono>
#include <set>
#include <atomic>
#include "AtomicCounter.hpp"
#include "w_key.h"
#include "lsn.h"
#include "allocator.h"
#include "latch.h"
Go to the source code of this file.
§ ADD_LOG_COMMENT_SIG
| #define ADD_LOG_COMMENT_SIG |
§ ADD_LOG_COMMENT_USE
| #define ADD_LOG_COMMENT_USE |
§ X_DO
| #define X_DO |
( |
|
x, |
|
|
|
anchor |
|
) |
| |
Value:{ \
w_rc_t __e = (x); \
if (__e.is_error()) { \
W_COERCE(
xct()->rollback(anchor)); \
} \
}
#define RC_AUGMENT(rc)
Augment stack trace. Add stack trace information (file, line) to a return code. This is the normal wa...
Definition: w_rc.h:264
xct_t * xct()
Definition: smthread.h:575
#define X_LOG_COMMENT_USE(x)
Definition: xct.h:79
skip
§ X_LOG_COMMENT_ON
| #define X_LOG_COMMENT_ON 0 |
§ X_LOG_COMMENT_USE
| #define X_LOG_COMMENT_USE |
( |
|
x | ) |
|
§ g_xct_does_ex_lock_for_select()
| bool g_xct_does_ex_lock_for_select |
( |
| ) |
|
|
inline |
§ g_xct_does_need_lock()
| bool g_xct_does_need_lock |
( |
| ) |
|
|
inline |
§ ELR_READONLY_WAIT_MAX_COUNT
| const int ELR_READONLY_WAIT_MAX_COUNT = 10 |
§ ELR_READONLY_WAIT_USEC
| const int ELR_READONLY_WAIT_USEC = 2000 |