From: Kern Sibbald Date: Tue, 15 Apr 2008 18:28:51 +0000 (+0000) Subject: Add Joao's sql_create change X-Git-Tag: Release-7.0.0~4700 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d82a64067984eafae61e376f712c9018252977e4;p=bacula%2Fbacula Add Joao's sql_create change git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6826 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/sql_create.c b/bacula/src/cats/sql_create.c index 86afb5b835..539ffea884 100644 --- a/bacula/src/cats/sql_create.c +++ b/bacula/src/cats/sql_create.c @@ -741,7 +741,11 @@ bool my_batch_end(JCR *jcr, B_DB *mdb, const char *error) Dmsg0(50, "sql_batch_end started\n"); if (mdb) { +#ifdef HAVE_DBI + mdb->status = (dbi_error_flag)0; +#else mdb->status = 0; +#endif } return true; }