From 7e03cf481ccbe5c62528d86af86ade60d150a6d0 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 16 Aug 2011 11:04:23 +0200 Subject: [PATCH] Drop unused sqlite_dump function from make_catalog_backup.pl --- bacula/src/cats/make_catalog_backup.pl.in | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bacula/src/cats/make_catalog_backup.pl.in b/bacula/src/cats/make_catalog_backup.pl.in index b8f7e1eaad..f955d93c2c 100644 --- a/bacula/src/cats/make_catalog_backup.pl.in +++ b/bacula/src/cats/make_catalog_backup.pl.in @@ -45,15 +45,6 @@ my $cat = shift or die "Usage: $0 catalogname"; my $dir_conf='@sbindir@/dbcheck -B -c @sysconfdir@/bacula-dir.conf'; my $wd = "@working_dir@"; -sub dump_sqlite -{ - my %args = @_; - - exec("echo .dump | sqlite '$wd/$args{db_name}.db' > '$wd/$args{db_name}.sql'"); - print "Error while executing sqlite dump $!\n"; - return 1; -} - sub dump_sqlite3 { my %args = @_; -- 2.39.5