From: Marco van Wieringen Date: Tue, 16 Aug 2011 09:04:23 +0000 (+0200) Subject: Drop unused sqlite_dump function from make_catalog_backup.pl X-Git-Tag: Release-7.0.0~588 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17c873dbfdfb9d1af015c75982a6b1b0ba7e2d05;p=bacula%2Fbacula Drop unused sqlite_dump function from make_catalog_backup.pl --- 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 = @_;