mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
make the message one-line
This commit is contained in:
parent
5b26601fd0
commit
0c75d26060
@ -48,12 +48,11 @@ backsql_PrintErrors( SQLHENV henv, SQLHDBC hdbc, SQLHSTMT sth, int rc )
|
|||||||
Debug( LDAP_DEBUG_TRACE, "Return code: %d\n", rc, 0, 0 );
|
Debug( LDAP_DEBUG_TRACE, "Return code: %d\n", rc, 0, 0 );
|
||||||
|
|
||||||
for ( ; rc = SQLError( henv, hdbc, sth, state, &iSqlCode, msg,
|
for ( ; rc = SQLError( henv, hdbc, sth, state, &iSqlCode, msg,
|
||||||
SQL_MAX_MESSAGE_LENGTH - 1, &len ), BACKSQL_SUCCESS( rc ); ) {
|
SQL_MAX_MESSAGE_LENGTH - 1, &len ), BACKSQL_SUCCESS( rc ); )
|
||||||
|
{
|
||||||
Debug( LDAP_DEBUG_TRACE,
|
Debug( LDAP_DEBUG_TRACE,
|
||||||
" Native error code: %d\n"
|
" nativeErrCode=%d SQLengineState=%s msg=\"%s\"\n",
|
||||||
" SQL engine state: %s\n"
|
(int)iSqlCode, state, msg );
|
||||||
" Message: %s\n",
|
|
||||||
(int)iSqlCode, state, msg );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user