]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
14 years agoAdd more debug code for bactrace
Kern Sibbald [Mon, 24 May 2010 10:08:27 +0000 (12:08 +0200)]
Add more debug code for bactrace

14 years agoFix for bug #1569 deadlock/crash in Dir
Kern Sibbald [Sun, 23 May 2010 16:37:10 +0000 (18:37 +0200)]
Fix for bug #1569 deadlock/crash in Dir

14 years agoFix segfault when loading Plugins
Eric Bollengier [Mon, 3 May 2010 08:02:58 +0000 (10:02 +0200)]
Fix segfault when loading Plugins

14 years agoFix #1567 about display of long volume names truncated during restore
Eric Bollengier [Tue, 4 May 2010 15:22:25 +0000 (17:22 +0200)]
Fix #1567 about display of long volume names truncated during restore

14 years agoAdded new bacula-libs package.
Scott Barninger [Sun, 2 May 2010 18:44:37 +0000 (14:44 -0400)]
Added new bacula-libs package.

14 years agoFix bug #1538 Start Scripts return incorrect value
Kern Sibbald [Sat, 1 May 2010 08:41:45 +0000 (10:41 +0200)]
Fix bug #1538 Start Scripts return incorrect value

14 years agoFix bug #1564 init scripts not LSB compliant
Kern Sibbald [Sat, 1 May 2010 08:29:11 +0000 (10:29 +0200)]
Fix bug #1564 init scripts not LSB compliant

14 years agoUpdate ReleaseNotes
Eric Bollengier [Wed, 28 Apr 2010 16:23:23 +0000 (18:23 +0200)]
Update ReleaseNotes

14 years agoFix File and Job Retention in show pool command
Eric Bollengier [Wed, 28 Apr 2010 13:00:52 +0000 (15:00 +0200)]
Fix File and Job Retention in show pool command

14 years agoregress: fix duplicate-job-test
Eric Bollengier [Wed, 28 Apr 2010 08:01:20 +0000 (10:01 +0200)]
regress: fix duplicate-job-test

14 years agoFinal po changes for Release-5.0.2 Release-5.0.2
Eric Bollengier [Tue, 27 Apr 2010 19:58:29 +0000 (21:58 +0200)]
Final po changes for Release-5.0.2

14 years agoUpdate version
Eric Bollengier [Tue, 27 Apr 2010 19:52:08 +0000 (21:52 +0200)]
Update version

14 years agoTweak release scripts
Eric Bollengier [Tue, 27 Apr 2010 19:35:25 +0000 (21:35 +0200)]
Tweak release scripts

14 years agoUpdate windows defs
Eric Bollengier [Tue, 27 Apr 2010 16:53:28 +0000 (18:53 +0200)]
Update windows defs

14 years agoAdd new file I missed from James' plugin patch
Kern Sibbald [Tue, 27 Apr 2010 12:20:56 +0000 (14:20 +0200)]
Add new file I missed from James' plugin patch

14 years agoAdd Polish translation. This translation project is sponsored by Inteos Sp. z o...
Grzegorz Grabowski [Tue, 27 Apr 2010 15:29:21 +0000 (17:29 +0200)]
Add Polish translation.  This translation project is sponsored by Inteos Sp. z o.o. based in Warsaw, PL.

14 years agoTweak update version in specs
Kern Sibbald [Tue, 27 Apr 2010 12:15:03 +0000 (14:15 +0200)]
Tweak update version in specs

14 years agoupdate ReleaseNotes
Eric Bollengier [Tue, 27 Apr 2010 08:34:33 +0000 (10:34 +0200)]
update ReleaseNotes

14 years agoregress: reproduce unblock bug
Eric Bollengier [Mon, 26 Apr 2010 14:43:37 +0000 (16:43 +0200)]
regress: reproduce unblock bug

14 years agoAdd lmgr_is_locked() function to test if a thread own a mutex
Eric Bollengier [Mon, 26 Apr 2010 09:39:30 +0000 (11:39 +0200)]
Add lmgr_is_locked() function to test if a thread own a mutex

14 years agoProbable fix for SD crash bug #1553
Kern Sibbald [Mon, 26 Apr 2010 20:02:38 +0000 (22:02 +0200)]
Probable fix for SD crash bug #1553

14 years agoPut attr.c debug on dbglvl
Kern Sibbald [Sun, 25 Apr 2010 07:20:41 +0000 (09:20 +0200)]
Put attr.c debug on dbglvl

14 years agoFix #1559 problem when restoring pruned jobs with a regexp
Eric Bollengier [Sat, 24 Apr 2010 16:21:36 +0000 (18:21 +0200)]
Fix #1559 problem when restoring pruned jobs with a regexp

14 years agoFix for bug #1560 bcopy cannot find Volume
Kern Sibbald [Sat, 24 Apr 2010 15:02:44 +0000 (17:02 +0200)]
Fix for bug #1560 bcopy cannot find Volume

14 years agoregress: Backport duplicate-job-test
Eric Bollengier [Fri, 23 Apr 2010 13:15:57 +0000 (15:15 +0200)]
regress: Backport duplicate-job-test

14 years agotweak debug
Eric Bollengier [Fri, 23 Apr 2010 09:12:16 +0000 (11:12 +0200)]
tweak debug

14 years agoTweak update version date
Kern Sibbald [Fri, 23 Apr 2010 07:09:18 +0000 (09:09 +0200)]
Tweak update version date

14 years agoRemove comment field added in last patch
Kern Sibbald [Fri, 23 Apr 2010 06:32:09 +0000 (08:32 +0200)]
Remove comment field added in last patch

14 years agoFix cancel crash bug #1551
Eric Bollengier [Fri, 23 Apr 2010 06:21:36 +0000 (08:21 +0200)]
Fix cancel crash bug #1551

14 years agoCheck if sql backend is thread-safe
Eric Bollengier [Mon, 19 Apr 2010 14:22:48 +0000 (16:22 +0200)]
Check if sql backend is thread-safe

14 years agoCorrect Pool display in SD status. Fixes bug #1541
Kern Sibbald [Tue, 20 Apr 2010 12:16:56 +0000 (14:16 +0200)]
Correct Pool display in SD status. Fixes bug #1541

14 years agoregress: fix accurate test when db_name!=regress
Eric Bollengier [Mon, 19 Apr 2010 15:06:30 +0000 (17:06 +0200)]
regress: fix accurate test when db_name!=regress

14 years agoFix cancel crash reported by Stephen Thompson
Kern Sibbald [Mon, 19 Apr 2010 17:01:32 +0000 (19:01 +0200)]
Fix cancel crash reported by Stephen Thompson

14 years agoRewind on close to fix #1549
Eric Bollengier [Sun, 18 Apr 2010 10:28:19 +0000 (12:28 +0200)]
Rewind on close to fix #1549

14 years agoRemove closelog() in bpipe fixes bug #1536
Kern Sibbald [Fri, 16 Apr 2010 18:37:16 +0000 (20:37 +0200)]
Remove closelog() in bpipe fixes bug #1536

14 years agoFix #1517 about missing Base level in .level command
Eric Bollengier [Fri, 16 Apr 2010 13:54:16 +0000 (15:54 +0200)]
Fix #1517 about missing Base level in .level command

14 years agoTweak update version + date
Kern Sibbald [Sat, 10 Apr 2010 10:34:08 +0000 (12:34 +0200)]
Tweak update version + date

14 years agoRevert "Added missing grant for postgresql as reported by Martin Simmons"
Kern Sibbald [Sat, 10 Apr 2010 10:22:56 +0000 (12:22 +0200)]
Revert "Added missing grant for postgresql as reported by Martin Simmons"

This reverts commit 0f0fd42aaa4ac8baa0095d1d9a3c1ff271463102.

14 years agoRevert "Remove line added as Eric seems to have done so also."
Kern Sibbald [Sat, 10 Apr 2010 10:22:36 +0000 (12:22 +0200)]
Revert "Remove line added as Eric seems to have done so also."

This reverts commit 0d55ae469e900861e6eed7b00d907e5214159d22.

14 years agoRevert "fixed syntax LIMIT/NULL behavior/improved tests"
Kern Sibbald [Sat, 10 Apr 2010 10:22:24 +0000 (12:22 +0200)]
Revert "fixed syntax LIMIT/NULL behavior/improved tests"

This reverts commit 02c8ba87e2c392cf555ab6797fe290795bd2b68d.

14 years agoRevert "Drop Ingres specific versions of queries with #ifdefs"
Kern Sibbald [Sat, 10 Apr 2010 10:22:15 +0000 (12:22 +0200)]
Revert "Drop Ingres specific versions of queries with #ifdefs"

This reverts commit 58ee8849be0febcda4a2dc5bf7cc8d19277727b8.

14 years agoRevert "Name all function arguments query so we can use stmt as our internal variable...
Kern Sibbald [Sat, 10 Apr 2010 10:22:08 +0000 (12:22 +0200)]
Revert "Name all function arguments query so we can use stmt as our internal variable everywhere."

This reverts commit 49e8e4a708cf296d12ff507d2055f20e83e635e5.

14 years agoRevert "Make some static functions inline as they only are called once and are there...
Kern Sibbald [Sat, 10 Apr 2010 10:21:58 +0000 (12:21 +0200)]
Revert "Make some static functions inline as they only are called once and are there mostly to describe a functional method."

This reverts commit 4d6483e392466a6c28b50ebf98860b16dc09e48f.

14 years agoRevert "Use bstrdup and use a goto for one exit from function."
Kern Sibbald [Sat, 10 Apr 2010 10:21:19 +0000 (12:21 +0200)]
Revert "Use bstrdup and use a goto for one exit from function."

This reverts commit 172a2f4c66c651bb29610cce72d15061e7c94509.

14 years agoRevert "Added limit_filter which rewrites queries which use the LIMIT functions into"
Kern Sibbald [Sat, 10 Apr 2010 10:21:10 +0000 (12:21 +0200)]
Revert "Added limit_filter which rewrites queries which use the LIMIT functions into"

This reverts commit f3a744e60e9af7fad0efd26555da57e98d647feb.

14 years agoRevert "Regenerated code for Ingres using esqlcc"
Kern Sibbald [Sat, 10 Apr 2010 10:21:03 +0000 (12:21 +0200)]
Revert "Regenerated code for Ingres using esqlcc"

This reverts commit 84809edd683452fc7a42e5f244649a084c4c1785.

14 years agoRevert "Fix typo"
Kern Sibbald [Sat, 10 Apr 2010 10:20:53 +0000 (12:20 +0200)]
Revert "Fix typo"

This reverts commit 8e80245ba7a93a36364faaf4bad2970ee23e90a7.

14 years agoRevert "Add header to both myingres.sc and myingres.sh"
Kern Sibbald [Sat, 10 Apr 2010 10:20:45 +0000 (12:20 +0200)]
Revert "Add header to both myingres.sc and myingres.sh"

This reverts commit 48b0b5ad1151b98c6bb36ac8f00230ac34ce7fc9.

14 years agoRevert "Fix typo"
Kern Sibbald [Sat, 10 Apr 2010 10:20:35 +0000 (12:20 +0200)]
Revert "Fix typo"

This reverts commit 12e99b170789a9528110643c62708a8df1274f4e.

14 years agoRevert "Let INGgetisnull return an bool"
Kern Sibbald [Sat, 10 Apr 2010 10:20:28 +0000 (12:20 +0200)]
Revert "Let INGgetisnull return an bool"

This reverts commit aaf7299b2d90878b2f5cf9ad28f6b0c5e5696422.

14 years agoRevert "Lets fix calling INGfreeDescriptor before INGfreeINGresult as INGfreeINGresul...
Kern Sibbald [Sat, 10 Apr 2010 10:20:14 +0000 (12:20 +0200)]
Revert "Lets fix calling INGfreeDescriptor before INGfreeINGresult as INGfreeINGresult free the whole INGresult struct"

This reverts commit 35235b8647eae94a46db9d60d99344ee560c570b.

14 years agoRevert "Implement my_ingres_currval function."
Kern Sibbald [Sat, 10 Apr 2010 10:19:31 +0000 (12:19 +0200)]
Revert "Implement my_ingres_currval function."

This reverts commit 3cc269cc16c56f0d33efb61f0c51c38819e99418.

14 years agoRevert "Lets not use PostgreSQL macros for sizes."
Kern Sibbald [Sat, 10 Apr 2010 10:19:22 +0000 (12:19 +0200)]
Revert "Lets not use PostgreSQL macros for sizes."

This reverts commit aa0dfc0c7010c096283f938a9dfd95b1d04ff7bf.

14 years agoRevert "Make the Ingres grant script work."
Kern Sibbald [Sat, 10 Apr 2010 10:19:14 +0000 (12:19 +0200)]
Revert "Make the Ingres grant script work."

This reverts commit 7a0d08261ba66de7c28bee25d3732c00e308ff54.

14 years agoRevert "Fix username argument to sql for Ingres grants."
Kern Sibbald [Sat, 10 Apr 2010 10:19:06 +0000 (12:19 +0200)]
Revert "Fix username argument to sql for Ingres grants."

This reverts commit a3b556c30f5fed2fe59f5b5a6c4c0d88514cf2b5.

14 years agoRevert "Do all Ingres operations as the user invoking the script just as for all"
Kern Sibbald [Sat, 10 Apr 2010 10:18:59 +0000 (12:18 +0200)]
Revert "Do all Ingres operations as the user invoking the script just as for all"

This reverts commit bea3788b3f0d90c89d8fa912b2d574a8f6de8d38.

14 years agoRevert "Create user in the right database for Ingres."
Kern Sibbald [Sat, 10 Apr 2010 10:18:51 +0000 (12:18 +0200)]
Revert "Create user in the right database for Ingres."

This reverts commit 809c70ad620adc067ea6f63649b7bd5c45d92579.

14 years agoRevert "Creating a database as an other user and giving grants doesn't seem to work...
Kern Sibbald [Sat, 10 Apr 2010 10:18:43 +0000 (12:18 +0200)]
Revert "Creating a database as an other user and giving grants doesn't seem to work for Ingres."

This reverts commit a87309a9aa0729805910bbfbab8f8a57d7f0629c.

14 years agoRevert "Lets rewrite the query at a higher level then we see the new query in the...
Kern Sibbald [Sat, 10 Apr 2010 10:18:34 +0000 (12:18 +0200)]
Revert "Lets rewrite the query at a higher level then we see the new query in the debugging and"

This reverts commit c8fe384b0b90cd7c364d4709a1ad36ac6601186a.

14 years agoRevert "Lets close the session based on session_id so we close the session we want...
Kern Sibbald [Sat, 10 Apr 2010 10:18:26 +0000 (12:18 +0200)]
Revert "Lets close the session based on session_id so we close the session we want to close not just an active connection."

This reverts commit f3c6e021a48cff1bf5337eca37f471b2bb58a204.

14 years agoRevert "Regenerated myingres.c from myingres.sc"
Kern Sibbald [Sat, 10 Apr 2010 10:18:18 +0000 (12:18 +0200)]
Revert "Regenerated myingres.c from myingres.sc"

This reverts commit a2ba35768ab227762580a7fc6cc34ce5043f6d38.

14 years agoRevert "As we have a multithreaded application let tell that to esqlcc so it can...
Kern Sibbald [Sat, 10 Apr 2010 10:18:10 +0000 (12:18 +0200)]
Revert "As we have a multithreaded application let tell that to esqlcc so it can optimize for that."

This reverts commit db52d239f5b8d2b3c29f123630cb192305485838.

14 years agoRevert "Fix typo"
Kern Sibbald [Sat, 10 Apr 2010 10:17:57 +0000 (12:17 +0200)]
Revert "Fix typo"

This reverts commit 6e08396ec0e389b7433bd9168b7f0316ec123daa.

14 years agoRevert "Use -lq.1 -lcompat.1 as shared libraries instead of linking with -lingres...
Kern Sibbald [Sat, 10 Apr 2010 10:17:50 +0000 (12:17 +0200)]
Revert "Use -lq.1 -lcompat.1 as shared libraries instead of linking with -lingres which is a static library."

This reverts commit 58bf155b833be0693c7d71afe83d7041b25a1845.

14 years agoRevert "Need an extra lib for dynamic linking against Ingres."
Kern Sibbald [Sat, 10 Apr 2010 10:17:42 +0000 (12:17 +0200)]
Revert "Need an extra lib for dynamic linking against Ingres."

This reverts commit ec44b798b02b4b779bdd402cb83ef7b9e5dc5aab.

14 years agoRevert "First attempt at making things multi-threaded and make it possible to"
Kern Sibbald [Sat, 10 Apr 2010 10:17:33 +0000 (12:17 +0200)]
Revert "First attempt at making things multi-threaded and make it possible to"

This reverts commit 69820d0776da2818115d90a2a73b790885c16aa5.

14 years agoRevert "Fix logic error introduced when implementing multi thread support, overwritin...
Kern Sibbald [Sat, 10 Apr 2010 10:17:24 +0000 (12:17 +0200)]
Revert "Fix logic error introduced when implementing multi thread support, overwriting rowcount"

This reverts commit 1dcd347a86b7edd99d3c48dc2e28016ea4a3be6f.

14 years agoRevert "Fix typo in sql."
Kern Sibbald [Sat, 10 Apr 2010 10:17:14 +0000 (12:17 +0200)]
Revert "Fix typo in sql."

This reverts commit 2001be4095d75e9993f26ed2e498a37aec666246.

14 years agoRevert "First version of Ingres Batch Insert code."
Kern Sibbald [Sat, 10 Apr 2010 10:16:58 +0000 (12:16 +0200)]
Revert "First version of Ingres Batch Insert code."

This reverts commit 65e9ccf4e2ede3aed10c5f769e3f86544143a8d2.

14 years agoRevert "Add support for transactions. Normal operations for Ingres is to make things...
Kern Sibbald [Sat, 10 Apr 2010 10:16:48 +0000 (12:16 +0200)]
Revert "Add support for transactions. Normal operations for Ingres is to make things one big transaction."

This reverts commit 746626e78f27849c603fc89eeab9d9093d0fa4dd.

14 years agoRevert "Fix typos"
Kern Sibbald [Sat, 10 Apr 2010 10:16:39 +0000 (12:16 +0200)]
Revert "Fix typos"

This reverts commit d2833a5f89205838d397cdc7b2dd4d73b5c2a6fd.

14 years agoRevert "Lets call it COMMIT and not END as that seems to be the counterpart of BEGIN...
Kern Sibbald [Sat, 10 Apr 2010 10:16:28 +0000 (12:16 +0200)]
Revert "Lets call it COMMIT and not END as that seems to be the counterpart of BEGIN for transactions."

This reverts commit 683329b67a22094295bcc6d50d2852718fe11cd7.

14 years agoRevert "Lets claim we also did something on it."
Kern Sibbald [Sat, 10 Apr 2010 10:16:20 +0000 (12:16 +0200)]
Revert "Lets claim we also did something on it."

This reverts commit eba7ad87ba5bb84450f4b17d2237dabd10a25868.

14 years agoRevert "Fix typo"
Kern Sibbald [Sat, 10 Apr 2010 10:16:06 +0000 (12:16 +0200)]
Revert "Fix typo"

This reverts commit b51258092b26210c592d36b6846a3d1aa61e1e9c.

14 years agoRevert "Drop have_insert_id in mdb as its always true for all backends."
Kern Sibbald [Sat, 10 Apr 2010 10:15:58 +0000 (12:15 +0200)]
Revert "Drop have_insert_id in mdb as its always true for all backends."

This reverts commit e4c79f3a2a6e9eff312b474fda10e097660e131f.

14 years agoRevert "Make sql_insert_id a atomic function which executes the insert query and...
Kern Sibbald [Sat, 10 Apr 2010 10:15:46 +0000 (12:15 +0200)]
Revert "Make sql_insert_id a atomic function which executes the insert query and when that succeeds"

This reverts commit ed89adc8a1d40dda9739903ae7341485ba356487.

14 years agoRevert "Fix some typos and some forgotten things. Now the code at least compiles...
Kern Sibbald [Sat, 10 Apr 2010 10:15:35 +0000 (12:15 +0200)]
Revert "Fix some typos and some forgotten things. Now the code at least compiles for all backends."

This reverts commit 11a33ed8e43b341d5d0319e431e996245103a5d9.

14 years agoRevert "Added empty db_check_backend_thread_safe to dbi backend."
Kern Sibbald [Sat, 10 Apr 2010 10:15:27 +0000 (12:15 +0200)]
Revert "Added empty db_check_backend_thread_safe to dbi backend."

This reverts commit 0555a0f3507e0122478017ef9c377b90dc482b87.

14 years agoRevert "Fix typo"
Kern Sibbald [Sat, 10 Apr 2010 10:15:18 +0000 (12:15 +0200)]
Revert "Fix typo"

This reverts commit cf512bf3fe8a0fb2cdc7f72c4db4163f4e122e8f.

14 years agoRevert "Replace INGcheck with EXEC SQL WHENEVER SQLERROR GOTO construction used by...
Kern Sibbald [Sat, 10 Apr 2010 10:15:10 +0000 (12:15 +0200)]
Revert "Replace INGcheck with EXEC SQL WHENEVER SQLERROR GOTO construction used by Ingres embedded SQL."

This reverts commit f1f3bea96e1a984a4fadb319043e46b3b512c226.

14 years agoRevert "Regenerated Ingres code using esqlcc"
Kern Sibbald [Sat, 10 Apr 2010 10:15:02 +0000 (12:15 +0200)]
Revert "Regenerated Ingres code using esqlcc"

This reverts commit e70e63e107849f8e8c74e04a52a50fc87cb5deb0.

14 years agoRevert "Lets uniformly call a INGconn a dbconn in all Ingres functions."
Kern Sibbald [Sat, 10 Apr 2010 10:14:54 +0000 (12:14 +0200)]
Revert "Lets uniformly call a INGconn a dbconn in all Ingres functions."

This reverts commit 9714f462d7bee6aa48c3cea900457f55af5ef746.

14 years agoRevert "Fix error introduced when refactoring some of the code."
Kern Sibbald [Sat, 10 Apr 2010 10:14:42 +0000 (12:14 +0200)]
Revert "Fix error introduced when refactoring some of the code."

This reverts commit 04730852a0c96baa796ad3f1b52631daaa798977.

14 years agoRevert "Program currval retrieval somewhat more robust."
Kern Sibbald [Sat, 10 Apr 2010 10:14:33 +0000 (12:14 +0200)]
Revert "Program currval retrieval somewhat more robust."

This reverts commit 2d02e4b0c13e2f26b138ebb411f6f5e253c91d4d.

14 years agoRevert "We need to fool the Ingres code a bit more to think we are in a transaction...
Kern Sibbald [Sat, 10 Apr 2010 10:14:24 +0000 (12:14 +0200)]
Revert "We need to fool the Ingres code a bit more to think we are in a transaction when doing an"

This reverts commit 9510b20ea24351f838bf709bb2e99f26bdd9e8e1.

14 years agoRevert "Implement a different default locking mode for our queries initialized for...
Kern Sibbald [Sat, 10 Apr 2010 10:14:17 +0000 (12:14 +0200)]
Revert "Implement a different default locking mode for our queries initialized for each new"

This reverts commit 4fc1c03543d87df8bf4e292f7161c90b6ecffe39.

14 years agoRevert "Make the batch insert functions return bool instead of int."
Kern Sibbald [Sat, 10 Apr 2010 10:14:08 +0000 (12:14 +0200)]
Revert "Make the batch insert functions return bool instead of int."

This reverts commit 58a085a309bfe9982b9a3bca71d3051aa79d180f.

14 years agoRevert "Prepare and describe the Ingres statement in one line of embedded sql."
Kern Sibbald [Sat, 10 Apr 2010 10:13:59 +0000 (12:13 +0200)]
Revert "Prepare and describe the Ingres statement in one line of embedded sql."

This reverts commit e8841905a312bbc489193cd72938ded3c0b57eaf.

14 years agoRevert "Fix stupid inverted logic"
Kern Sibbald [Sat, 10 Apr 2010 10:13:51 +0000 (12:13 +0200)]
Revert "Fix stupid inverted logic"

This reverts commit a84d3bb9d29accc4fa855ffc2e9be48814bbe2b8.

14 years agoRevert "Add back something that for whatever reason got lost on last big merge."
Kern Sibbald [Sat, 10 Apr 2010 10:13:42 +0000 (12:13 +0200)]
Revert "Add back something that for whatever reason got lost on last big merge."

This reverts commit de14c0146bed3ff60637f45b223c8fee8aa87f23.

14 years agoRevert "Drop all Ingres tables with one commit."
Kern Sibbald [Sat, 10 Apr 2010 10:13:32 +0000 (12:13 +0200)]
Revert "Drop all Ingres tables with one commit."

This reverts commit fbc6b7fae7868243bb515c866f114585733656a2.

14 years agoRevert "We need to call INGfreeINGresult before INGfreeDescriptor and as such need...
Kern Sibbald [Sat, 10 Apr 2010 10:13:19 +0000 (12:13 +0200)]
Revert "We need to call INGfreeINGresult before INGfreeDescriptor and as such need a temporary variable"

This reverts commit 885efbd49cfe014f160c6ac10d27b8f39f4d890b.

14 years agoWe need to call INGfreeINGresult before INGfreeDescriptor and as such need a temporar...
Marco van Wieringen [Fri, 9 Apr 2010 17:11:51 +0000 (19:11 +0200)]
We need to call INGfreeINGresult before INGfreeDescriptor and as such need a temporary variable
to store the sqlda structure which is stored in the INGresult. This makes sure we don't get
all those dreaded orphaned buffers on exit of bacula-dir.

14 years agoDrop all Ingres tables with one commit.
Marco van Wieringen [Fri, 9 Apr 2010 12:02:41 +0000 (14:02 +0200)]
Drop all Ingres tables with one commit.

14 years agoAdd back something that for whatever reason got lost on last big merge.
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.

14 years agoFix stupid inverted logic
Marco van Wieringen [Wed, 7 Apr 2010 18:08:43 +0000 (20:08 +0200)]
Fix stupid inverted logic

14 years agoPrepare and describe the Ingres statement in one line of embedded sql.
Marco van Wieringen [Wed, 7 Apr 2010 17:04:31 +0000 (19:04 +0200)]
Prepare and describe the Ingres statement in one line of embedded sql.
Added extra check when rowcount == -1 to see if there is were really any errors
because some queries give a negative rowcount when they are executed ok (e.g.
DECLARE GLOBAL TEMPORARY TABLE for instance.

14 years agoMake the batch insert functions return bool instead of int.
Marco van Wieringen [Wed, 7 Apr 2010 14:31:58 +0000 (16:31 +0200)]
Make the batch insert functions return bool instead of int.

14 years agoImplement a different default locking mode for our queries initialized for each new
Marco van Wieringen [Wed, 7 Apr 2010 07:17:14 +0000 (09:17 +0200)]
Implement a different default locking mode for our queries initialized for each new
session opened. Not quite sure if this is the best option but it looks to be better
then the other defaults.

14 years agoWe need to fool the Ingres code a bit more to think we are in a transaction when...
Marco van Wieringen [Tue, 6 Apr 2010 21:10:56 +0000 (23:10 +0200)]
We need to fool the Ingres code a bit more to think we are in a transaction when doing an
insert followed by the retrieval of the currval of the id inserted. So we save the current
transaction status set it to true do all our work commit it if we are really not in a
transaction and restore the actual transaction status. Not the nicest but it should work.