From: Eric Bollengier Date: Thu, 6 May 2010 09:50:04 +0000 (+0200) Subject: MySQL compilation fix X-Git-Tag: Release-7.0.0~1831 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ecd9de97641897800438c0dd017e93d5e92186fe;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);