#! /bin/sh /usr/share/dpatch/dpatch-run ## 03_add_innodb-file-per-table_option.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. @DPATCH@ diff -urNad mylvmbackup-0.11~/mylvmbackup.pl.in mylvmbackup-0.11/mylvmbackup.pl.in --- mylvmbackup-0.11~/mylvmbackup.pl.in 2008-11-23 13:32:47.000000000 +0100 +++ mylvmbackup-0.11/mylvmbackup.pl.in 2009-02-02 13:59:04.000000000 +0100 @@ -597,7 +597,7 @@ sub do_innodb_recover { log_msg ("Recovering InnoDB...", LOG_INFO); - my $command="echo 'select 1;' | $mysqld_safe --socket=/tmp/mylvmbackup.sock --pid-file=$pidfile --datadir=$mountdir --skip-networking --skip-grant --bootstrap --skip-ndbcluster --skip-slave-start"; + my $command="echo 'select 1;' | $mysqld_safe --socket=/tmp/mylvmbackup.sock --pid-file=$pidfile --datadir=$mountdir --skip-networking --skip-grant --bootstrap --skip-ndbcluster --skip-slave-start --innodb-file-per-table"; return run_command("InnoDB recovery on snapshot", $command); }