Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
bea2c5d4
Commit
bea2c5d4
authored
Aug 30, 2015
by
Howard Chu
Browse files
More for batched writes
Only usable if backend supports txns
parent
535cf92f
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
bea2c5d4
...
...
@@ -2978,10 +2978,12 @@ syncrepl_entry(
si
->
si_refreshCount
=
0
;
si
->
si_refreshTxn
=
NULL
;
}
if
(
!
si
->
si_refreshCount
)
{
op
->
o_bd
->
bd_info
->
bi_op_txn
(
op
,
SLAP_TXN_BEGIN
,
&
si
->
si_refreshTxn
);
if
(
op
->
o_bd
->
bd_info
->
bi_op_txn
)
{
if
(
!
si
->
si_refreshCount
)
{
op
->
o_bd
->
bd_info
->
bi_op_txn
(
op
,
SLAP_TXN_BEGIN
,
&
si
->
si_refreshTxn
);
}
si
->
si_refreshCount
++
;
}
si
->
si_refreshCount
++
;
}
slap_op_time
(
&
op
->
o_time
,
&
op
->
o_tincr
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment