From 828c44a8ede3284824b8bcf78cb334e00ddd103d Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 22 Mar 2008 08:24:40 +0000 Subject: [PATCH] ebl Revert to database version 10 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6660 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/cats.h | 10 +++++----- bacula/src/cats/make_mysql_tables.in | 2 +- bacula/src/cats/make_postgresql_tables.in | 2 +- bacula/src/cats/make_sqlite3_tables.in | 2 +- bacula/src/cats/make_sqlite_tables.in | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bacula/src/cats/cats.h b/bacula/src/cats/cats.h index 22e4f538eb..7d7e94e7c0 100644 --- a/bacula/src/cats/cats.h +++ b/bacula/src/cats/cats.h @@ -87,7 +87,7 @@ typedef int (DB_RESULT_HANDLER)(void *, int, char **); #if defined(BUILDING_CATS) #ifdef HAVE_SQLITE -#define BDB_VERSION 11 +#define BDB_VERSION 10 #include @@ -207,7 +207,7 @@ extern const char* my_sqlite_batch_fill_path_query; #ifdef HAVE_SQLITE3 -#define BDB_VERSION 11 +#define BDB_VERSION 10 #include @@ -333,7 +333,7 @@ extern const char* my_sqlite_batch_fill_path_query; #ifdef HAVE_MYSQL -#define BDB_VERSION 11 +#define BDB_VERSION 10 #include @@ -415,7 +415,7 @@ extern void my_mysql_free_result(B_DB *mdb); #ifdef HAVE_POSTGRESQL -#define BDB_VERSION 11 +#define BDB_VERSION 10 #include @@ -529,7 +529,7 @@ extern const char* my_pg_batch_fill_path_query; #ifdef HAVE_DBI -#define BDB_VERSION 11 +#define BDB_VERSION 10 #include diff --git a/bacula/src/cats/make_mysql_tables.in b/bacula/src/cats/make_mysql_tables.in index 665dea4299..32a5b4d984 100644 --- a/bacula/src/cats/make_mysql_tables.in +++ b/bacula/src/cats/make_mysql_tables.in @@ -336,7 +336,7 @@ CREATE TABLE Version ( ); -- Initialize Version -INSERT INTO Version (VersionId) VALUES (11); +INSERT INTO Version (VersionId) VALUES (10); END-OF-DATA then diff --git a/bacula/src/cats/make_postgresql_tables.in b/bacula/src/cats/make_postgresql_tables.in index dbafefe527..d63e2de699 100644 --- a/bacula/src/cats/make_postgresql_tables.in +++ b/bacula/src/cats/make_postgresql_tables.in @@ -372,7 +372,7 @@ INSERT INTO Status (JobStatus,JobStatusLong) VALUES INSERT INTO Status (JobStatus,JobStatusLong) VALUES ('i', 'Doing batch insert file records'); -INSERT INTO Version (VersionId) VALUES (11); +INSERT INTO Version (VersionId) VALUES (10); -- Make sure we have appropriate permissions diff --git a/bacula/src/cats/make_sqlite3_tables.in b/bacula/src/cats/make_sqlite3_tables.in index 9d1900d847..aea3628f6e 100644 --- a/bacula/src/cats/make_sqlite3_tables.in +++ b/bacula/src/cats/make_sqlite3_tables.in @@ -357,7 +357,7 @@ INSERT INTO Status (JobStatus,JobStatusLong) VALUES -- Initialize Version -INSERT INTO Version (VersionId) VALUES (11); +INSERT INTO Version (VersionId) VALUES (10); PRAGMA default_cache_size = 100000; diff --git a/bacula/src/cats/make_sqlite_tables.in b/bacula/src/cats/make_sqlite_tables.in index b9880fb551..6173a56a59 100644 --- a/bacula/src/cats/make_sqlite_tables.in +++ b/bacula/src/cats/make_sqlite_tables.in @@ -357,7 +357,7 @@ INSERT INTO Status (JobStatus,JobStatusLong) VALUES -- Initialize Version -INSERT INTO Version (VersionId) VALUES (11); +INSERT INTO Version (VersionId) VALUES (10); PRAGMA default_synchronous = OFF; -- 2.39.5