]> git.sur5r.net Git - openldap/commitdiff
misc cleanup
authorPierangelo Masarati <ando@openldap.org>
Fri, 8 May 2009 16:31:50 +0000 (16:31 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 8 May 2009 16:31:50 +0000 (16:31 +0000)
servers/slapd/back-sql/proto-sql.h
servers/slapd/back-sql/sql-wrap.c

index 2ac00ec662348ae80286b61dd5bdb25622235081..4eccf101e52d107367bc2550f413a730cddd20fa 100644 (file)
@@ -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),               \
index d8baf38df86c10a15916fc3bb7b1ff3cb3464eb0..0a25d58de43029f30afd04c262afb533b9ce1a44 100644 (file)
@@ -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;