Home
last modified time | relevance | path

Searched refs:ACQUIRE_LOCK (Results 1 – 25 of 223) sorted by relevance

123456789

/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
H A Dlocktree_overlapping_relock.cc76 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_overlapping_relock() macro
82 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_overlapping_relock()
84 r = ACQUIRE_LOCK(txnid_a, two, two, nullptr); in test_overlapping_relock()
86 r = ACQUIRE_LOCK(txnid_a, one, two, nullptr); in test_overlapping_relock()
124 r = ACQUIRE_LOCK(txnid_a, one, three, nullptr); in test_overlapping_relock()
125 r = ACQUIRE_LOCK(txnid_a, two, five, nullptr); in test_overlapping_relock()
132 r = ACQUIRE_LOCK(txnid_a, zero, four, nullptr); in test_overlapping_relock()
139 r = ACQUIRE_LOCK(txnid_a, five, five, nullptr); in test_overlapping_relock()
148 #undef ACQUIRE_LOCK in test_overlapping_relock()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr);
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr);
83 #undef ACQUIRE_LOCK
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr);
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr);
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr);
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr);
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr);
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/tokudb/PerconaFT/locktree/tests/
H A Dlocktree_conflicts.cc73 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
78 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_conflicts()
80 r = ACQUIRE_LOCK(txnid_a, three, four, nullptr); in test_conflicts()
83 #undef ACQUIRE_LOCK in test_conflicts()
89 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_conflicts() macro
94 r = ACQUIRE_LOCK(txnid_b, one, one, nullptr); in test_conflicts()
98 r = ACQUIRE_LOCK(txnid_b, four, four, nullptr); in test_conflicts()
102 r = ACQUIRE_LOCK(txnid_b, zero, two, nullptr); in test_conflicts()
104 r = ACQUIRE_LOCK(txnid_b, four, five, nullptr); in test_conflicts()
106 r = ACQUIRE_LOCK(txnid_b, two, three, nullptr); in test_conflicts()
[all …]
H A Dlocktree_simple_lock.cc64 #define ACQUIRE_LOCK(txn, left, right, conflicts) \ in test_simple_lock() macro
69 r = ACQUIRE_LOCK(txnid_a, one, one, nullptr); in test_simple_lock()
71 r = ACQUIRE_LOCK(txnid_b, two, two, nullptr); in test_simple_lock()
73 r = ACQUIRE_LOCK(txnid_c, three, three, nullptr); in test_simple_lock()
75 r = ACQUIRE_LOCK(txnid_d, four, four, nullptr); in test_simple_lock()
84 r = ACQUIRE_LOCK(txnid_c, one, two, nullptr); in test_simple_lock()
86 r = ACQUIRE_LOCK(txnid_b, three, four, nullptr); in test_simple_lock()
93 r = ACQUIRE_LOCK(txnid_c, three, four, nullptr); in test_simple_lock()
95 r = ACQUIRE_LOCK(txnid_d, one, one, nullptr); in test_simple_lock()
101 #undef ACQUIRE_LOCK in test_simple_lock()

123456789