during a delete Job or pruning -- bug 402.
- Minor tweak for Win32 build.
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2335
91ce42f0-d328-0410-95d8-
f526ca767f89
General:
Changes to 1.37.36:
+19Aug05
+- Fix for create JobMedia so that VolIndex remains valid even
+ during a delete Job or pruning -- bug 402.
+- Minor tweak for Win32 build.
18Aug05
- Win32 fix -- remove debug O_NONBLOCK code.
- Fix bug 399 -- make_catalog_backup does not work for sqlite3
db_lock(mdb);
/* Now get count for VolIndex */
- Mmsg(mdb->cmd, "SELECT count(*) from JobMedia");
+ Mmsg(mdb->cmd, "SELECT count(*) from JobMedia WHERE JobId=%s",
+ edit_int64(jm->JobId, ed1));
count = get_sql_record_max(jcr, mdb);
if (count < 0) {
count = 0;
Director {
Name = rufus-dir
DIRport = 8101
- address = localhost
+ address = rufus
Password = UA_password
}
#undef VERSION
#define VERSION "1.37.36"
-#define BDATE "18 August 2005"
-#define LSMDATE "18Aug05"
+#define BDATE "19 August 2005"
+#define LSMDATE "19Aug05"
/* Debug flags */
#undef DEBUG
#include "getopt.h"
#define HAVE_WIN32 1
+#undef HAVE_NLS
#ifndef HAVE_MINGW
#ifdef HAVE_CYGWIN
-#error should not be used under cygwin...
+#undef HAVE_CYGWIN
#else
#endif //HAVE_CYGWIN
#endif //HAVE_MINGW
#undef S_IFDIR
#define S_IFDIR 0040000 /* directory */
#define S_IFCHR 0020000 /* character special */
-#define S_IFBLK 0060000 /* block special */
+#define S_IFBLK 0060000 /* block special */
#define S_IFIFO 0010000 /* pipe */
#undef S_IFREG
#define S_IFREG 0100000 /* regular */