]> git.sur5r.net Git - bacula/bacula/commitdiff
Drop unused sqlite_dump function from make_catalog_backup.pl
authorMarco van Wieringen <mvw@planets.elm.net>
Tue, 16 Aug 2011 09:04:23 +0000 (11:04 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:00 +0000 (14:50 +0200)
bacula/src/cats/make_catalog_backup.pl.in

index b8f7e1eaade1a63661400ef472ba4e291452f79b..f955d93c2c78b8f9af0a411e94b2565682049fe9 100644 (file)
@@ -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 = @_;