]>
git.sur5r.net Git - bacula/bacula/log
Kern Sibbald [Wed, 14 Apr 2010 11:04:59 +0000 (13:04 +0200)]
Tweak comments + indenting
Kern Sibbald [Wed, 14 Apr 2010 10:44:43 +0000 (12:44 +0200)]
Add vss_close_backup_session after find_files + add object_name to restore object
Kern Sibbald [Wed, 14 Apr 2010 08:40:16 +0000 (10:40 +0200)]
Cleanup restore_object packet
Marco van Wieringen [Tue, 13 Apr 2010 18:57:42 +0000 (20:57 +0200)]
Fix typos.
Marco van Wieringen [Tue, 13 Apr 2010 17:48:46 +0000 (19:48 +0200)]
Ingres doesn't understand a query string with ORDER BY LastWritten IS NULL,LastWritten DESC,MediaId and we must rewrite it to ORDER BY IFNULL(LastWritten, '') DESC,MediaId which we now do by using an array with the correct order statement per backend in sql_cmds just as some of the other database specific queries.
Kern Sibbald [Mon, 12 Apr 2010 12:55:18 +0000 (08:55 -0400)]
Add missing break. Pointed out by James
Kern Sibbald [Sun, 11 Apr 2010 18:59:02 +0000 (20:59 +0200)]
Pass restore object to plugin
Kern Sibbald [Sun, 11 Apr 2010 15:24:52 +0000 (17:24 +0200)]
Restore object now sent to FD
Kern Sibbald [Sun, 11 Apr 2010 07:38:21 +0000 (09:38 +0200)]
Tweak rebuild configure
Kern Sibbald [Sun, 11 Apr 2010 07:37:28 +0000 (09:37 +0200)]
Drop old bdb catalog scripts
Kern Sibbald [Sun, 11 Apr 2010 07:20:44 +0000 (09:20 +0200)]
Tweak remove trailing space add doxygen doc marks
Kern Sibbald [Sat, 10 Apr 2010 20:45:39 +0000 (22:45 +0200)]
Extract restore object and send to FD first cut
Kern Sibbald [Sat, 10 Apr 2010 20:51:49 +0000 (22:51 +0200)]
Add Ingres RestoreObject SQL changes
Marco van Wieringen [Sat, 10 Apr 2010 11:42:07 +0000 (13:42 +0200)]
Fix typo in sqlite
Marco van Wieringen [Sat, 10 Apr 2010 11:36:25 +0000 (13:36 +0200)]
Rename sql_insert_id into sql_insert_autokey_record so things are somewhat cleaner in name and things don't seem to imply we are just a mysql_insert_id replacement, which we are not.
Kern Sibbald [Fri, 9 Apr 2010 19:52:25 +0000 (21:52 +0200)]
Turn off plugin debug
Kern Sibbald [Fri, 9 Apr 2010 19:38:59 +0000 (21:38 +0200)]
Create and put data into RestoreObject table
Kern Sibbald [Fri, 9 Apr 2010 15:36:39 +0000 (17:36 +0200)]
Create db_create_restore_object_record and code to insert it
Marco van Wieringen [Fri, 9 Apr 2010 12:02:41 +0000 (14:02 +0200)]
Drop all Ingres tables with one commit.
Kern Sibbald [Fri, 9 Apr 2010 09:28:48 +0000 (11:28 +0200)]
Fix Win32 build
Kern Sibbald [Fri, 9 Apr 2010 09:19:32 +0000 (11:19 +0200)]
Tweak update version + date
Kern Sibbald [Fri, 9 Apr 2010 09:17:45 +0000 (11:17 +0200)]
Set level for debug code
Kern Sibbald [Thu, 8 Apr 2010 19:09:57 +0000 (21:09 +0200)]
Make build and install of test-plugin for regress automatic
Kern Sibbald [Thu, 8 Apr 2010 13:09:35 +0000 (15:09 +0200)]
Temp remvoe add exclude
Kern Sibbald [Wed, 7 Apr 2010 20:11:54 +0000 (22:11 +0200)]
First attempt to fix plugin excludes
Kern Sibbald [Wed, 7 Apr 2010 19:26:25 +0000 (21:26 +0200)]
Get binary objects working
Kern Sibbald [Wed, 7 Apr 2010 19:25:45 +0000 (21:25 +0200)]
Make test-plugin regression test work
Kern Sibbald [Wed, 7 Apr 2010 13:03:14 +0000 (15:03 +0200)]
Make test-plugin-test script
Kern Sibbald [Wed, 7 Apr 2010 12:55:53 +0000 (14:55 +0200)]
Create test-plugin-fd
Kern Sibbald [Wed, 7 Apr 2010 12:04:53 +0000 (14:04 +0200)]
Stuff object in extended attributes
Kern Sibbald [Wed, 7 Apr 2010 09:32:12 +0000 (11:32 +0200)]
Add FT_RESTORE and first cut handling it
Kern Sibbald [Tue, 6 Apr 2010 20:32:52 +0000 (22:32 +0200)]
Tweak fd_plugins.c
Kern Sibbald [Tue, 6 Apr 2010 17:24:09 +0000 (19:24 +0200)]
Add more doc to example-plugin
Kern Sibbald [Mon, 5 Apr 2010 20:51:30 +0000 (22:51 +0200)]
Start RESTORE_OBJECT code
Marco van Wieringen [Thu, 8 Apr 2010 16:55:04 +0000 (18:55 +0200)]
Fixed postgresql grant script which I seem to have updated while I thought I updated the Ingres one. Also added a missing entry as reported by Martin Simmons.
Marco van Wieringen [Thu, 8 Apr 2010 16:50:51 +0000 (18:50 +0200)]
First attempt at using mdb on Solaris instead of dbx which isn't standard on most current Solaris versions.
Eric Bollengier [Thu, 8 Apr 2010 16:48:43 +0000 (18:48 +0200)]
fix grant_postgresql_privileges doesn t grant permissions on jobhisto_jobid_seq
Marco van Wieringen [Thu, 8 Apr 2010 05:30:27 +0000 (07:30 +0200)]
Add back something that for whatever reason got lost on last big merge.
Marco van Wieringen [Wed, 7 Apr 2010 18:08:43 +0000 (20:08 +0200)]
Fix stupid inverted logic
Marco van Wieringen [Wed, 7 Apr 2010 14:31:58 +0000 (16:31 +0200)]
Make the batch insert functions return bool instead of int.
Eric Bollengier [Wed, 7 Apr 2010 09:28:41 +0000 (11:28 +0200)]
tweak def file
Eric Bollengier [Wed, 7 Apr 2010 09:18:53 +0000 (11:18 +0200)]
Add lock position info to volume manager
Eric Bollengier [Tue, 6 Apr 2010 19:41:31 +0000 (21:41 +0200)]
Permits to use lock manager with file/line from outside
Marco van Wieringen [Mon, 5 Apr 2010 20:11:51 +0000 (22:11 +0200)]
Added empty db_check_backend_thread_safe to dbi backend.
Kern Sibbald [Mon, 5 Apr 2010 20:08:02 +0000 (22:08 +0200)]
Change cryptic aop name
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.
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.
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.
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.
Marco van Wieringen [Sun, 4 Apr 2010 20:40:14 +0000 (22:40 +0200)]
Fix typo in sql.
Kern Sibbald [Sun, 4 Apr 2010 19:19:54 +0000 (21:19 +0200)]
Tweak update version+date
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.
Marco van Wieringen [Sun, 4 Apr 2010 11:46:25 +0000 (13:46 +0200)]
Need an extra lib for dynamic linking against Ingres.
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.
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.
Eric Bollengier [Sun, 4 Apr 2010 07:38:16 +0000 (09:38 +0200)]
Fix bscan segfault with new comment field
Eric Bollengier [Fri, 2 Apr 2010 19:13:00 +0000 (21:13 +0200)]
regress: add diff.pl tool
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.
Marco van Wieringen [Sat, 3 Apr 2010 20:09:52 +0000 (22:09 +0200)]
Create user in the right database for Ingres.
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.
Marco van Wieringen [Sat, 3 Apr 2010 18:58:07 +0000 (20:58 +0200)]
Fix username argument to sql for Ingres grants.
Kern Sibbald [Sat, 3 Apr 2010 18:56:42 +0000 (20:56 +0200)]
Rework SD mount.c locking again
Kern Sibbald [Sat, 3 Apr 2010 18:55:57 +0000 (20:55 +0200)]
Replace ASSERT in block.c with fail Job
Marco van Wieringen [Sat, 3 Apr 2010 18:55:13 +0000 (20:55 +0200)]
Make the Ingres grant script work.
Kern Sibbald [Sat, 3 Apr 2010 18:54:39 +0000 (20:54 +0200)]
Use uint32_t for max_concurrent_jobs
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.
Kern Sibbald [Sat, 3 Apr 2010 09:55:50 +0000 (11:55 +0200)]
Add new item to projects
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
James Harper [Fri, 2 Apr 2010 17:12:48 +0000 (19:12 +0200)]
Apply James' rename events patch
Marco van Wieringen [Fri, 2 Apr 2010 15:37:28 +0000 (17:37 +0200)]
Fix typo
James Harper [Fri, 2 Apr 2010 10:51:03 +0000 (12:51 +0200)]
Apply James' plugin patch
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.
Kern Sibbald [Thu, 1 Apr 2010 19:21:21 +0000 (21:21 +0200)]
Add make_def64
Kern Sibbald [Thu, 1 Apr 2010 19:20:33 +0000 (21:20 +0200)]
Fix win32/lib/bacula.defs as pointed out by James
Marco van Wieringen [Thu, 1 Apr 2010 17:26:33 +0000 (19:26 +0200)]
Drop Ingres specific versions of queries with #ifdefs
Stefan Reddig [Thu, 1 Apr 2010 16:04:58 +0000 (18:04 +0200)]
fixed syntax LIMIT/NULL behavior/improved tests
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.
Kern Sibbald [Wed, 31 Mar 2010 19:00:21 +0000 (21:00 +0200)]
Simplify db_check_max_connections code and ifdeffing
Kern Sibbald [Wed, 31 Mar 2010 17:20:43 +0000 (19:20 +0200)]
Fix SQL warning message about concurrency pointed out by Graham
Kern Sibbald [Wed, 31 Mar 2010 17:14:08 +0000 (19:14 +0200)]
Fix compiler warning
Kern Sibbald [Wed, 31 Mar 2010 12:40:58 +0000 (14:40 +0200)]
Add jobs running to status of daemons
Eric Bollengier [Mon, 29 Mar 2010 07:52:34 +0000 (09:52 +0200)]
Use file and line for rwlock and lmgr in db_lock()
Eric Bollengier [Mon, 29 Mar 2010 07:51:16 +0000 (09:51 +0200)]
Add File and Line info to rw_lock for lmgr
Marco van Wieringen [Sat, 27 Mar 2010 22:07:09 +0000 (23:07 +0100)]
Fix compiler warning.
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.
Kern Sibbald [Sat, 27 Mar 2010 16:26:50 +0000 (17:26 +0100)]
Tweak rebuild configure
Kern Sibbald [Sat, 27 Mar 2010 16:23:58 +0000 (17:23 +0100)]
Tweak Ingres ./configure
James Harper [Sat, 27 Mar 2010 12:56:25 +0000 (13:56 +0100)]
Apply James' wide char patch
James Harper [Sat, 27 Mar 2010 10:54:26 +0000 (11:54 +0100)]
Patch from James
Kern Sibbald [Sat, 27 Mar 2010 08:07:27 +0000 (09:07 +0100)]
Reduce compiler warnings for Win32 plugins + tweak bpipe-fd
James Harper [Sat, 27 Mar 2010 07:38:19 +0000 (08:38 +0100)]
Add bVarVssDllHandle so that a plugin can get GetProcAddress
Marco van Wieringen [Fri, 26 Mar 2010 21:01:58 +0000 (22:01 +0100)]
Add missing db_unlock to bvfs_update_cache.
Kern Sibbald [Fri, 26 Mar 2010 09:49:08 +0000 (10:49 +0100)]
Tweak version date
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
Eric Bollengier [Mon, 22 Mar 2010 23:34:20 +0000 (00:34 +0100)]
regress: fix run_multiple to return real exit code
Eric Bollengier [Mon, 22 Mar 2010 22:45:31 +0000 (23:45 +0100)]
regress: tweak new maxdev-test
Eric Bollengier [Mon, 22 Mar 2010 20:34:46 +0000 (21:34 +0100)]
regress: add test for max concurent job for devices
Eric Bollengier [Mon, 22 Mar 2010 15:30:32 +0000 (16:30 +0100)]
Update configure
Eric Bollengier [Mon, 22 Mar 2010 15:30:19 +0000 (16:30 +0100)]
Fix #1532 about permission on binaries
Eric Bollengier [Mon, 22 Mar 2010 13:50:04 +0000 (14:50 +0100)]
Propose shell replacement to perl code, fix #1516