]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
14 years agoAdded empty db_check_backend_thread_safe to dbi backend.
Marco van Wieringen [Mon, 5 Apr 2010 20:11:51 +0000 (22:11 +0200)]
Added empty db_check_backend_thread_safe to dbi backend.

14 years agoChange cryptic aop name
Kern Sibbald [Mon, 5 Apr 2010 20:08:02 +0000 (22:08 +0200)]
Change cryptic aop name

14 years agoFix some typos and some forgotten things. Now the code at least compiles for all...
Marco van Wieringen [Mon, 5 Apr 2010 19:57:58 +0000 (21:57 +0200)]
Fix some typos and some forgotten things. Now the code at least compiles for all backends.

14 years agoMake sql_insert_id a atomic function which executes the insert query and when that...
Marco van Wieringen [Mon, 5 Apr 2010 16:53:04 +0000 (18:53 +0200)]
Make sql_insert_id a atomic function which executes the insert query and when that succeeds retrieves the id the database used for storing the inserted record. Some databases want this to be atomic (e.g. without a COMMIT in between.) Coding wise this is also much cleaner.

14 years agoDrop have_insert_id in mdb as its always true for all backends.
Marco van Wieringen [Mon, 5 Apr 2010 15:15:17 +0000 (17:15 +0200)]
Drop have_insert_id in mdb as its always true for all backends.

14 years agoLets call it COMMIT and not END as that seems to be the counterpart of BEGIN for...
Marco van Wieringen [Mon, 5 Apr 2010 13:42:24 +0000 (15:42 +0200)]
Lets call it COMMIT and not END as that seems to be the counterpart of BEGIN for transactions. Updated Ingres lock queries to only start a transaction as the current SQL is not valid Ingres SQL.

14 years agoFix typo in sql.
Marco van Wieringen [Sun, 4 Apr 2010 20:40:14 +0000 (22:40 +0200)]
Fix typo in sql.

14 years agoTweak update version+date
Kern Sibbald [Sun, 4 Apr 2010 19:19:54 +0000 (21:19 +0200)]
Tweak update version+date

14 years agoFirst attempt at making things multi-threaded and make it possible to have multiple...
Marco van Wieringen [Sun, 4 Apr 2010 17:46:24 +0000 (19:46 +0200)]
First attempt at making things multi-threaded and make it possible to have multiple connections to the database without having the dreaded ERR=E_LQ002E The 'execute immediate' query has been issued outside of a DBMS session. This compiles but seems to give some problems so into the debugger it is.

14 years agoNeed an extra lib for dynamic linking against Ingres.
Marco van Wieringen [Sun, 4 Apr 2010 11:46:25 +0000 (13:46 +0200)]
Need an extra lib for dynamic linking against Ingres.

14 years agoUse -lq.1 -lcompat.1 as shared libraries instead of linking with -lingres which is...
Marco van Wieringen [Sun, 4 Apr 2010 10:55:22 +0000 (12:55 +0200)]
Use -lq.1 -lcompat.1 as shared libraries instead of linking with -lingres which is a static library. Also need to change generated code of esqlcc a bit to get things to link with the IIsqlca function.

14 years agoAs we have a multithreaded application let tell that to esqlcc so it can optimize...
Marco van Wieringen [Sun, 4 Apr 2010 08:21:47 +0000 (10:21 +0200)]
As we have a multithreaded application let tell that to esqlcc so it can optimize for that.

14 years agoFix bscan segfault with new comment field
Eric Bollengier [Sun, 4 Apr 2010 07:38:16 +0000 (09:38 +0200)]
Fix bscan segfault with new comment field

14 years agoregress: add diff.pl tool
Eric Bollengier [Fri, 2 Apr 2010 19:13:00 +0000 (21:13 +0200)]
regress: add diff.pl tool

14 years agoCreating a database as an other user and giving grants doesn't seem to work for Ingre...
Marco van Wieringen [Sat, 3 Apr 2010 20:18:55 +0000 (22:18 +0200)]
Creating a database as an other user and giving grants doesn't seem to work for Ingres. Strange so for now create everything using the -u${db_user} option. This is something that needs to be investigated as it should be possible to have an different owner of the database.

14 years agoCreate user in the right database for Ingres.
Marco van Wieringen [Sat, 3 Apr 2010 20:09:52 +0000 (22:09 +0200)]
Create user in the right database for Ingres.

14 years agoDo all Ingres operations as the user invoking the script just as for all the other...
Marco van Wieringen [Sat, 3 Apr 2010 19:16:50 +0000 (21:16 +0200)]
Do all Ingres operations as the user invoking the script just as for all the other databases. The grant script will make sure the db_user will have the proper access rights to the database tables and sequences.

14 years agoFix username argument to sql for Ingres grants.
Marco van Wieringen [Sat, 3 Apr 2010 18:58:07 +0000 (20:58 +0200)]
Fix username argument to sql for Ingres grants.

14 years agoRework SD mount.c locking again
Kern Sibbald [Sat, 3 Apr 2010 18:56:42 +0000 (20:56 +0200)]
Rework SD mount.c locking again

14 years agoReplace ASSERT in block.c with fail Job
Kern Sibbald [Sat, 3 Apr 2010 18:55:57 +0000 (20:55 +0200)]
Replace ASSERT in block.c with fail Job

14 years agoMake the Ingres grant script work.
Marco van Wieringen [Sat, 3 Apr 2010 18:55:13 +0000 (20:55 +0200)]
Make the Ingres grant script work.

14 years agoUse uint32_t for max_concurrent_jobs
Kern Sibbald [Sat, 3 Apr 2010 18:54:39 +0000 (20:54 +0200)]
Use uint32_t for max_concurrent_jobs

14 years agoFix grant script to set grants on correct sequence names and not PostgreSQL names.
Marco van Wieringen [Sat, 3 Apr 2010 14:23:24 +0000 (16:23 +0200)]
Fix grant script to set grants on correct sequence names and not PostgreSQL names.

14 years agoAdd new item to projects
Kern Sibbald [Sat, 3 Apr 2010 09:55:50 +0000 (11:55 +0200)]
Add new item to projects

14 years agoFix bug #1542 File Daemon outputs usage message to stdout instead of stderr
Kern Sibbald [Fri, 2 Apr 2010 21:51:30 +0000 (23:51 +0200)]
Fix bug #1542 File Daemon outputs usage message to stdout instead of stderr

14 years agoApply James' rename events patch
James Harper [Fri, 2 Apr 2010 17:12:48 +0000 (19:12 +0200)]
Apply James' rename events patch

14 years agoFix typo
Marco van Wieringen [Fri, 2 Apr 2010 15:37:28 +0000 (17:37 +0200)]
Fix typo

14 years agoApply James' plugin patch
James Harper [Fri, 2 Apr 2010 10:51:03 +0000 (12:51 +0200)]
Apply James' plugin patch

14 years agoAdded limit_filter which rewrites queries which use the LIMIT functions into somethin...
Marco van Wieringen [Fri, 2 Apr 2010 07:23:10 +0000 (09:23 +0200)]
Added limit_filter which rewrites queries which use the LIMIT functions into something Ingres can understand. Removed all static functions from the myingres.sh file as they are no longer an exported interface (we can always put that back when we have the need to export more functions). Some other rewrites of the code to make it somewhat cleaner.

14 years agoAdd make_def64
Kern Sibbald [Thu, 1 Apr 2010 19:21:21 +0000 (21:21 +0200)]
Add make_def64

14 years agoFix win32/lib/bacula.defs as pointed out by James
Kern Sibbald [Thu, 1 Apr 2010 19:20:33 +0000 (21:20 +0200)]
Fix win32/lib/bacula.defs as pointed out by James

14 years agoDrop Ingres specific versions of queries with #ifdefs
Marco van Wieringen [Thu, 1 Apr 2010 17:26:33 +0000 (19:26 +0200)]
Drop Ingres specific versions of queries with #ifdefs

14 years agofixed syntax LIMIT/NULL behavior/improved tests
Stefan Reddig [Thu, 1 Apr 2010 16:04:58 +0000 (18:04 +0200)]
fixed syntax LIMIT/NULL behavior/improved tests

14 years agoChange Ingres drop script so we can run any form of regression and a drop really...
Marco van Wieringen [Wed, 31 Mar 2010 20:02:59 +0000 (22:02 +0200)]
Change Ingres drop script so we can run any form of regression and a drop really drops the content of the database so we can run make_ingres_tables again.

14 years agoSimplify db_check_max_connections code and ifdeffing
Kern Sibbald [Wed, 31 Mar 2010 19:00:21 +0000 (21:00 +0200)]
Simplify db_check_max_connections code and ifdeffing

14 years agoFix SQL warning message about concurrency pointed out by Graham
Kern Sibbald [Wed, 31 Mar 2010 17:20:43 +0000 (19:20 +0200)]
Fix SQL warning message about concurrency pointed out by Graham

14 years agoFix compiler warning
Kern Sibbald [Wed, 31 Mar 2010 17:14:08 +0000 (19:14 +0200)]
Fix compiler warning

14 years agoAdd jobs running to status of daemons
Kern Sibbald [Wed, 31 Mar 2010 12:40:58 +0000 (14:40 +0200)]
Add jobs running to status of daemons

14 years agoUse file and line for rwlock and lmgr in db_lock()
Eric Bollengier [Mon, 29 Mar 2010 07:52:34 +0000 (09:52 +0200)]
Use file and line for rwlock and lmgr in db_lock()

14 years agoAdd File and Line info to rw_lock for lmgr
Eric Bollengier [Mon, 29 Mar 2010 07:51:16 +0000 (09:51 +0200)]
Add File and Line info to rw_lock for lmgr

14 years agoFix compiler warning.
Marco van Wieringen [Sat, 27 Mar 2010 22:07:09 +0000 (23:07 +0100)]
Fix compiler warning.

14 years agoFix database locking calling db_lock and returning from function without calling...
Marco van Wieringen [Sat, 27 Mar 2010 22:02:17 +0000 (23:02 +0100)]
Fix database locking calling db_lock and returning from function without calling db_unlock.

14 years agoTweak rebuild configure
Kern Sibbald [Sat, 27 Mar 2010 16:26:50 +0000 (17:26 +0100)]
Tweak rebuild configure

14 years agoTweak Ingres ./configure
Kern Sibbald [Sat, 27 Mar 2010 16:23:58 +0000 (17:23 +0100)]
Tweak Ingres ./configure

14 years agoApply James' wide char patch
James Harper [Sat, 27 Mar 2010 12:56:25 +0000 (13:56 +0100)]
Apply James' wide char patch

14 years agoPatch from James
James Harper [Sat, 27 Mar 2010 10:54:26 +0000 (11:54 +0100)]
Patch from James

14 years agoReduce compiler warnings for Win32 plugins + tweak bpipe-fd
Kern Sibbald [Sat, 27 Mar 2010 08:07:27 +0000 (09:07 +0100)]
Reduce compiler warnings for Win32 plugins + tweak bpipe-fd

14 years agoAdd bVarVssDllHandle so that a plugin can get GetProcAddress
James Harper [Sat, 27 Mar 2010 07:38:19 +0000 (08:38 +0100)]
Add bVarVssDllHandle so that a plugin can get GetProcAddress

14 years agoAdd missing db_unlock to bvfs_update_cache.
Marco van Wieringen [Fri, 26 Mar 2010 21:01:58 +0000 (22:01 +0100)]
Add missing db_unlock to bvfs_update_cache.

14 years agoTweak version date
Kern Sibbald [Fri, 26 Mar 2010 09:49:08 +0000 (10:49 +0100)]
Tweak version date

14 years agobweb: If a subconf uses a special bconsole string, don t use -D switch
Eric Bollengier [Tue, 23 Mar 2010 09:28:38 +0000 (10:28 +0100)]
bweb: If a subconf uses a special bconsole string, don t use -D switch

14 years agoregress: fix run_multiple to return real exit code
Eric Bollengier [Mon, 22 Mar 2010 23:34:20 +0000 (00:34 +0100)]
regress: fix run_multiple to return real exit code

14 years agoregress: tweak new maxdev-test
Eric Bollengier [Mon, 22 Mar 2010 22:45:31 +0000 (23:45 +0100)]
regress: tweak new maxdev-test

14 years agoregress: add test for max concurent job for devices
Eric Bollengier [Mon, 22 Mar 2010 20:34:46 +0000 (21:34 +0100)]
regress: add test for max concurent job for devices

14 years agoUpdate configure
Eric Bollengier [Mon, 22 Mar 2010 15:30:32 +0000 (16:30 +0100)]
Update configure

14 years agoFix #1532 about permission on binaries
Eric Bollengier [Mon, 22 Mar 2010 15:30:19 +0000 (16:30 +0100)]
Fix #1532 about permission on binaries

14 years agoPropose shell replacement to perl code, fix #1516
Eric Bollengier [Mon, 22 Mar 2010 13:50:04 +0000 (14:50 +0100)]
Propose shell replacement to perl code, fix #1516

14 years agoFix #1526 about verify jobs and runscript
Eric Bollengier [Mon, 22 Mar 2010 13:31:58 +0000 (14:31 +0100)]
Fix #1526 about verify jobs and runscript

14 years agoregress: cleanup
Eric Bollengier [Sat, 20 Mar 2010 17:31:30 +0000 (18:31 +0100)]
regress: cleanup

14 years agoAdd 5 minute timout to alert directive -- fixes bug #1536
Kern Sibbald [Sat, 20 Mar 2010 14:48:42 +0000 (15:48 +0100)]
Add 5 minute timout to alert directive -- fixes bug #1536

14 years agoAdd bEventInitializeVSS as requested by James
Kern Sibbald [Fri, 19 Mar 2010 18:01:46 +0000 (19:01 +0100)]
Add bEventInitializeVSS as requested by James

14 years agoReduce compiler warnings on Windows build
Kern Sibbald [Wed, 17 Mar 2010 15:02:19 +0000 (16:02 +0100)]
Reduce compiler warnings on Windows build

14 years agoAdd doc + make some compat subroutines static
Kern Sibbald [Tue, 16 Mar 2010 14:57:03 +0000 (15:57 +0100)]
Add doc + make some compat subroutines static

14 years agoFix Win64 build
Kern Sibbald [Tue, 16 Mar 2010 14:56:36 +0000 (15:56 +0100)]
Fix Win64 build

14 years agoCorrect mkdir in installer
Kern Sibbald [Tue, 16 Mar 2010 14:00:52 +0000 (15:00 +0100)]
Correct mkdir in installer

14 years agoSystem State plugin update
James Harper [Tue, 16 Mar 2010 13:03:09 +0000 (14:03 +0100)]
System State plugin update

14 years agoTweak: comments
Kern Sibbald [Tue, 16 Mar 2010 09:24:36 +0000 (10:24 +0100)]
Tweak: comments

14 years agoTweak: comments
Kern Sibbald [Tue, 16 Mar 2010 09:00:11 +0000 (10:00 +0100)]
Tweak: comments

14 years agoAllow users to build bat without static QT if desired.
Scott Barninger [Sun, 14 Mar 2010 18:55:02 +0000 (14:55 -0400)]
Allow users to build bat without static QT if desired.

14 years agoAdd bat=no make option on Win32
Kern Sibbald [Sun, 14 Mar 2010 18:21:59 +0000 (19:21 +0100)]
Add bat=no make option on Win32

14 years agoFix for qt mkspecs location on Fedora 12.
Scott Barninger [Sun, 14 Mar 2010 18:13:00 +0000 (14:13 -0400)]
Fix for qt mkspecs location on Fedora 12.

14 years agoSecond plugin patch
James Harper [Sun, 14 Mar 2010 15:36:52 +0000 (16:36 +0100)]
Second plugin patch

14 years agoSystem State plugin first cut
James Harper [Sun, 14 Mar 2010 10:23:34 +0000 (11:23 +0100)]
System State plugin first cut

14 years agoregress: add doc
Eric Bollengier [Sat, 13 Mar 2010 09:34:42 +0000 (10:34 +0100)]
regress: add doc

14 years agosyntax fix, test improved, empty results fixed
Stefan Reddig [Fri, 12 Mar 2010 16:29:59 +0000 (17:29 +0100)]
syntax fix, test improved, empty results fixed

14 years agoregress: fix typo in bweb-test
Eric Bollengier [Fri, 12 Mar 2010 16:22:35 +0000 (17:22 +0100)]
regress: fix typo in bweb-test

14 years agoregress: update bweb test
Eric Bollengier [Fri, 12 Mar 2010 16:19:35 +0000 (17:19 +0100)]
regress: update bweb test

14 years agoregress: Add tests with multi-directors
Eric Bollengier [Fri, 12 Mar 2010 16:08:37 +0000 (17:08 +0100)]
regress: Add tests with multi-directors

14 years agoregress: test create/rename/delete sub directors
Eric Bollengier [Fri, 12 Mar 2010 15:12:48 +0000 (16:12 +0100)]
regress: test create/rename/delete sub directors

14 years agoregress: add get_resource to function.pm
Eric Bollengier [Fri, 12 Mar 2010 14:06:33 +0000 (15:06 +0100)]
regress: add get_resource to function.pm

14 years agoAdd read_vol_list mutex to lockmgr prio
Eric Bollengier [Fri, 12 Mar 2010 10:24:21 +0000 (11:24 +0100)]
Add read_vol_list mutex to lockmgr prio

14 years agoFix #1527 about deadlock during migration
Eric Bollengier [Fri, 12 Mar 2010 10:23:37 +0000 (11:23 +0100)]
Fix #1527 about deadlock during migration

14 years agoregress: work on bweb regress test
Eric Bollengier [Fri, 12 Mar 2010 10:22:10 +0000 (11:22 +0100)]
regress: work on bweb regress test

14 years agoWhen including term.h we don't need prototypes for tgetent, tgetnum and tgetstr as...
Marco van Wieringen [Fri, 12 Mar 2010 10:20:11 +0000 (11:20 +0100)]
When including term.h we don't need prototypes for tgetent, tgetnum and tgetstr as they are defined in term.h on Solaris.

14 years agoTweak: set non-zero level on debug line
Kern Sibbald [Fri, 12 Mar 2010 07:18:11 +0000 (08:18 +0100)]
Tweak: set non-zero level on debug line

14 years agoregress: Start to test configuration menu in bweb
Eric Bollengier [Thu, 11 Mar 2010 17:37:46 +0000 (18:37 +0100)]
regress: Start to test configuration menu in bweb

14 years agoregress: Add regression test for bweb
Eric Bollengier [Thu, 11 Mar 2010 17:16:52 +0000 (18:16 +0100)]
regress: Add regression test for bweb

14 years agoregress: cleanup bweb tables when starting bacula
Eric Bollengier [Thu, 11 Mar 2010 17:14:48 +0000 (18:14 +0100)]
regress: cleanup bweb tables when starting bacula

14 years agoregress: Add cleanup/start/stop functions to functions.pm
Eric Bollengier [Thu, 11 Mar 2010 14:22:24 +0000 (15:22 +0100)]
regress: Add cleanup/start/stop functions to functions.pm

14 years agoAnother fix for OpenSSLv1
Kern Sibbald [Wed, 10 Mar 2010 14:36:43 +0000 (15:36 +0100)]
Another fix for OpenSSLv1

14 years agoTweak: rebuild configure
Kern Sibbald [Wed, 10 Mar 2010 11:53:50 +0000 (12:53 +0100)]
Tweak: rebuild configure

14 years agoAdd -lrt to Solaris links
Kern Sibbald [Wed, 10 Mar 2010 11:48:32 +0000 (12:48 +0100)]
Add -lrt to Solaris links

14 years agoFix tls.c for OpenSSLv1
Kern Sibbald [Tue, 9 Mar 2010 21:55:09 +0000 (22:55 +0100)]
Fix tls.c for OpenSSLv1

14 years agoAdd plugin Exclude interface
Kern Sibbald [Tue, 9 Mar 2010 13:26:33 +0000 (14:26 +0100)]
Add plugin Exclude interface

14 years agoTweak: filed/job.c comments
Kern Sibbald [Tue, 9 Mar 2010 13:26:13 +0000 (14:26 +0100)]
Tweak: filed/job.c comments

14 years agoupdate projects item 6
Eric Bollengier [Tue, 9 Mar 2010 12:21:11 +0000 (13:21 +0100)]
update projects item 6

14 years agoAdd TODO in bvfs
Eric Bollengier [Mon, 8 Mar 2010 14:03:37 +0000 (15:03 +0100)]
Add TODO in bvfs

14 years agoFix #1511 when trying to insert more than 50.000 directories in bvfs
Eric Bollengier [Mon, 8 Mar 2010 13:09:21 +0000 (14:09 +0100)]
Fix #1511 when trying to insert more than 50.000 directories in bvfs

14 years agoFix plugin load not to stop if one plugin bad -- pointed out by James
Kern Sibbald [Mon, 8 Mar 2010 12:53:37 +0000 (13:53 +0100)]
Fix plugin load not to stop if one plugin bad -- pointed out by James

14 years agoThis adds the ability to once again have classes that don't neccesarily dock. It...
Dirk H Bartley [Sun, 7 Mar 2010 17:29:59 +0000 (12:29 -0500)]
This adds the ability to once again have classes that don't neccesarily dock. It also shows the example of having the run page not dock like it once did not.