From: Eric Bollengier Date: Thu, 6 May 2010 09:50:04 +0000 (+0200) Subject: MySQL compilation fix X-Git-Tag: Release-5.2.1~1366 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b78ceb10bcf479cebc14ec8e537b97c0addfc9d4;p=bacula%2Fbacula MySQL compilation fix --- diff --git a/bacula/src/cats/mysql.c b/bacula/src/cats/mysql.c index 555bbf9cc0..bc61067b5f 100644 --- a/bacula/src/cats/mysql.c +++ b/bacula/src/cats/mysql.c @@ -322,7 +322,7 @@ int db_next_index(JCR *jcr, B_DB *mdb, char *table, char *index) * Memory is stored in B_DB struct, no need to free it */ char * -db_escape_object(JCR *jcr, B_DB *db, char *old, int len) +db_escape_object(JCR *jcr, B_DB *mdb, char *old, int len) { mdb->esc_obj = check_pool_memory_size(mdb->esc_obj, len*2+1); mysql_real_escape_string(mdb->db, mdb->esc_obj, old, len);