Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Dubner
OpenLDAP
Commits
faa1385f
Commit
faa1385f
authored
Apr 13, 2004
by
Pierangelo Masarati
Browse files
cleanup error messages and logs
parent
3ea43689
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-sql/schema-map.c
View file @
faa1385f
...
...
@@ -355,14 +355,16 @@ backsql_load_schema_map( backsql_info *si, SQLHDBC dbh )
rc
=
SQLExecute
(
at_sth
);
if
(
rc
!=
SQL_SUCCESS
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"backsql_load_schema_map(): "
"error executing at_query:
\n
"
,
0
,
0
,
0
);
"error executing at_query
\n
"
"
\"
%s
\"\n
"
" with param oc_id=
\"
%lu
\"
:
\n
"
,
si
->
at_query
,
oc_id
,
0
);
backsql_PrintErrors
(
SQL_NULL_HENV
,
dbh
,
at_sth
,
rc
);
return
LDAP_OTHER
;
}
backsql_BindRowAsStrings
(
at_sth
,
&
at_row
);
rc
=
SQLFetch
(
at_sth
);
for
(
;
BACKSQL_SUCCESS
(
rc
);
rc
=
SQLFetch
(
at_sth
)
)
{
for
(
;
rc
=
SQLFetch
(
at_sth
),
BACKSQL_SUCCESS
(
rc
);
)
{
const
char
*
text
=
NULL
;
struct
berval
bv
;
struct
berbuf
bb
=
BB_NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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