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
openldap
OpenLDAP
Commits
d8887ac0
Commit
d8887ac0
authored
Apr 16, 2003
by
Pierangelo Masarati
Browse files
fix update operations
parent
ca9bb440
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-sql/modify.c
View file @
d8887ac0
...
...
@@ -955,7 +955,7 @@ backsql_add( Operation *op, SlapReply *rs )
}
rs
->
sr_err
=
backsql_get_db_conn
(
op
,
&
dbh
);
if
(
prc
!=
LDAP_SUCCESS
)
{
if
(
rs
->
sr_err
!=
LDAP_SUCCESS
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"backsql_add(): "
"could not get connection handle - exiting
\n
"
,
0
,
0
,
0
);
...
...
@@ -1531,8 +1531,10 @@ backsql_delete( Operation *op, SlapReply *rs )
SQLTransact
(
SQL_NULL_HENV
,
dbh
,
op
->
o_noop
?
SQL_ROLLBACK
:
SQL_COMMIT
);
rs
->
sr_err
=
LDAP_SUCCESS
;
send_ldap_result
(
op
,
rs
);
Debug
(
LDAP_DEBUG_TRACE
,
"<==backsql_delete()
\n
"
,
0
,
0
,
0
);
return
op
->
o_noop
;
}
...
...
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