mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 06:30:10 +00:00
Fix how new args are passed to create_new_table().
This commit is contained in:
@@ -9540,9 +9540,8 @@ sub create_new_table {
|
|||||||
foreach my $arg ( @required_args ) {
|
foreach my $arg ( @required_args ) {
|
||||||
die "I need a $arg argument" unless $args{$arg};
|
die "I need a $arg argument" unless $args{$arg};
|
||||||
}
|
}
|
||||||
my $new_table_name = $args{new_table_name};
|
my ($new_table_name, $new_table_prefix, $orig_tbl, $cxn, $q, $o, $tp)
|
||||||
my $new_table_prefix = $args{new_table_prefix};
|
= @args{@required_args};
|
||||||
my ($orig_tbl, $cxn, $q, $o, $tp) = @args{@required_args};
|
|
||||||
|
|
||||||
# Get the original table struct.
|
# Get the original table struct.
|
||||||
my $ddl = $tp->get_create_table(
|
my $ddl = $tp->get_create_table(
|
||||||
|
Reference in New Issue
Block a user