Hello, Thanks for trying the beta and pointing this out. Since I didn't have MySQL loaded on my laptop until yesterday, I hadn't run the MySQL regression scripts. I have now corrected the problem, tested the MySQL regression, and released a 1.38.6-beta2 on the bacula-patches section of Source Forge.
Best regards, Kern On Saturday 25 February 2006 00:59, Erich Prinz wrote: > Maybe elementary for advanced UNIX guys, but got this error when > running MAKE. > > ==>Entering directory /bacula-1.38.5/src/cats > /usr/bin/g++ -c -I. -I.. -I/usr/local/mysql/include -g -O2 - > Wall mysql.c > mysql.c: In function `int db_sql_query(B_DB*, const char*, int (*) > (void*, int, char**), void*)': > mysql.c:325: error: 'sql_use_result' was not declared in this scope > make[1]: *** [mysql.o] Error 1 > > > ====== Error in /bacula-1.38.5/src/cats ====== > > On Feb 24, 2006, at 10:13 AM, Kern Sibbald wrote: > > Hello, > > > > I have just released 1.38.6-beta1.patch to the bacula-patches > > section of the > > Bacula Source Forge site. This patch can be applied against Bacula > > 1.38.5 > > source code to bring it up to the current CVS 1.38 branch. The > > instructions > > for applying the patch are at the top of the file. > > > > Since I am not at home, I have not run this code in production, but > > I have run > > it through the regression scripts a number of times. > > > > I would appreciate feedback from those of you willing to try the code. > > > > New features: > > - For autochanger get Scratch tape if in autochanger if > > no appendable Volumes are available. > > - New virtual disk autochanger. See scripts/disk-changer for > > documentation. > > - New optional Device resource directive in SD. 'Device Type =', > > which may have types: File, DVD, Tape, or FIFO. This can > > be useful for writing DVDs on FreeBSD where Bacula cannot > > correctly detect the DVD. > > > > Major bug fixes: > > - Fix race condition in multiple-drive autochangers where > > both drives want the same Volume. > > - Do not allow opening default catalog for restricted console > > if it is not in ACL. > > > > Minor bug fixes: > > - See below: > > > > Changes to 1.38.6 > > - Don't open default catalog if not in ACL. > > - Add virtual disk autochanger code. > > - Add user supplied bug fix to make two autochangers work > > correctly using StorageId with InChanger checks. > > - Correct new/old_jcr confusion in copy_storage(). > > - Remove & from Job during scan in msgchan.c -- probably > > trashed the stack. > > - When getting the next Volume if no Volume in Append mode > > exists and we are dealing with an Autochanger, search > > for a Scratch Volume. > > - Check for missing value in dot commands -- bug fix. > > - Fix bug in update barcodes command line scanning. > > - Make sure Pool Max Vols is respected. > > - Check that user supplied a value before referencing > > it in restore -- pointed out by Karl Hakimian. > > - Add Karl Hakimian's table insert code. > > - Don't ask user to select a specific Volume when > > updating all volumes in a Pool. > > - Remove reservation if set for read when removing dcr. > > - Lock code that requests next appendable volume so that > > two jobs to get the same Volume at the same time. > > - Add new Device Type = xxx code. Values are file, tape, > > dvd, and fifo. > > - Preserve certain modes (ST_LABEL|ST_APPEND|ST_READ) across > > a re-open to change read/write permission on a device. > > - Correct a misplaced double quote in certain autochanger > > scripts. > > - Make make_catalog_backup.in a bit more portable. > > - Implement Karl Hakimian's sql_use_result(), which speeds > > up restore tree building and reduces the memory load. > > - Correct a number of minor bugs in getting a Volume from > > the Scratch Pool. > > - Implement additional command line options for update Volume. > > - Don't require user to enter a Volume name when updating > > all Volumes in a pool. > > > > Best regards, Kern > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the > > live webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel? > > cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users