mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
misc cleanup
This commit is contained in:
parent
8d55fbf5c6
commit
2cf9473c46
@ -183,7 +183,7 @@ void backsql_entry_clean( Operation *op, Entry *e );
|
||||
* sql-wrap.h
|
||||
*/
|
||||
|
||||
RETCODE backsql_Prepare( SQLHDBC dbh, SQLHSTMT *sth, char* query, int timeout );
|
||||
RETCODE backsql_Prepare( SQLHDBC dbh, SQLHSTMT *sth, const char* query, int timeout );
|
||||
|
||||
#define backsql_BindParamStr( sth, par_ind, io, str, maxlen ) \
|
||||
SQLBindParameter( (sth), (SQLUSMALLINT)(par_ind), \
|
||||
|
@ -52,7 +52,7 @@ backsql_PrintErrors( SQLHENV henv, SQLHDBC hdbc, SQLHSTMT sth, int rc )
|
||||
}
|
||||
|
||||
RETCODE
|
||||
backsql_Prepare( SQLHDBC dbh, SQLHSTMT *sth, char *query, int timeout )
|
||||
backsql_Prepare( SQLHDBC dbh, SQLHSTMT *sth, const char *query, int timeout )
|
||||
{
|
||||
RETCODE rc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user