]>
git.sur5r.net Git - bacula/bacula/log
Kern Sibbald [Sun, 18 Apr 2010 05:35:11 +0000 (07:35 +0200)]
Start adding plugin regex filesets
Kern Sibbald [Sat, 17 Apr 2010 12:37:38 +0000 (14:37 +0200)]
Reorganize regex code
Eric Bollengier [Sun, 18 Apr 2010 10:28:19 +0000 (12:28 +0200)]
Rewind on close to fix #1549
James Harper [Sun, 18 Apr 2010 06:36:48 +0000 (08:36 +0200)]
Add bVarWorkingDir to filed plugins
Marco van Wieringen [Sat, 17 Apr 2010 20:34:21 +0000 (22:34 +0200)]
Update Ingres temporary table definitions with new datatypes and lengths.
Marco van Wieringen [Sat, 17 Apr 2010 19:11:07 +0000 (21:11 +0200)]
Added extra check to scream when we encounter a database datatype which we don't support yet. This should never happen as we should implement new datatypes when we use them in the schema but some defensive programming doesn't hurt.
Marco van Wieringen [Sat, 17 Apr 2010 15:56:59 +0000 (17:56 +0200)]
Some small indent changes.
Kern Sibbald [Sat, 17 Apr 2010 13:38:37 +0000 (15:38 +0200)]
Possible fix for big-files-test
Eric Bollengier [Sat, 17 Apr 2010 12:29:02 +0000 (14:29 +0200)]
Use a dedicated connexion when VirtualFull computes the file list.
Kern Sibbald [Sat, 17 Apr 2010 12:03:44 +0000 (14:03 +0200)]
Add back line accidentally deleted -- fixes verify-vol tests
Kern Sibbald [Sat, 17 Apr 2010 12:02:56 +0000 (14:02 +0200)]
Remove inappropriate comments and unused line
Kern Sibbald [Sat, 17 Apr 2010 12:02:20 +0000 (14:02 +0200)]
Fix badly named index
Marco van Wieringen [Sat, 17 Apr 2010 08:12:13 +0000 (10:12 +0200)]
First stab at rewriting the ingres database schema to allow bigger path and filenames up to the current limit of 32000 bytes. Also reindented the database definitions to the Bacula standards which make it somewhat easier to read. Implemented the retrieval of some additional datatypes in the ingres backend now we switched some types from VARCHAR to VARBYTE.
Kern Sibbald [Fri, 16 Apr 2010 18:56:14 +0000 (20:56 +0200)]
Tweak new restore object code
Kern Sibbald [Fri, 16 Apr 2010 18:37:16 +0000 (20:37 +0200)]
Remove closelog() in bpipe fixes bug #1536
Kern Sibbald [Fri, 16 Apr 2010 18:15:15 +0000 (20:15 +0200)]
Convert restore object to use STREAM_RESTORE_OBJECT; cleaner code
Marco van Wieringen [Fri, 16 Apr 2010 08:39:44 +0000 (10:39 +0200)]
For now the Ingres type is not TEXT but VARCHAR(256) so lets define the temporary table that way.
Marco van Wieringen [Fri, 16 Apr 2010 08:07:09 +0000 (10:07 +0200)]
Seperate some basejob queries into sql_cmds.c so the code is cleaner and we can specify the Ingres specific definition of a temporary table.
Marco van Wieringen [Fri, 16 Apr 2010 07:29:45 +0000 (09:29 +0200)]
Remove some strange includes halve way this file which seems to be some copied code from the top of the file.
Kern Sibbald [Fri, 16 Apr 2010 06:35:09 +0000 (08:35 +0200)]
Fix RestoreObject make_sqlite3_table.in syntax
Marco van Wieringen [Thu, 15 Apr 2010 20:40:26 +0000 (22:40 +0200)]
DISTINCT ON postgresql queries won't work on Ingres so try if the MySQL queries do any better on Ingres.
Marco van Wieringen [Thu, 15 Apr 2010 18:57:23 +0000 (20:57 +0200)]
Small changes to btraceback script so on solaris we don't get strange errors as PNAME is not a single binary name and that doesn't work to great for doing a gcore.
Marco van Wieringen [Thu, 15 Apr 2010 18:50:47 +0000 (20:50 +0200)]
Add install and uninstall of btraceback.mdb script
Eric Bollengier [Wed, 14 Apr 2010 09:39:48 +0000 (11:39 +0200)]
Remove bad index tips on mysql creation script
Kern Sibbald [Wed, 14 Apr 2010 13:24:50 +0000 (15:24 +0200)]
Apply James' patch with my restore object changes
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