From b78ceb10bcf479cebc14ec8e537b97c0addfc9d4 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 6 May 2010 11:50:04 +0200 Subject: [PATCH] MySQL compilation fix --- bacula/src/cats/mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5