mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
Seralize empty list as undef.
This commit is contained in:
@@ -161,7 +161,7 @@ sub join_quote {
|
||||
sub serialize_list {
|
||||
my ( $self, @args ) = @_;
|
||||
PTDEBUG && _d('Serializing', Dumper(\@args));
|
||||
die "Cannot serialize an empty array" unless scalar @args;
|
||||
return unless @args;
|
||||
|
||||
my @parts;
|
||||
foreach my $arg ( @args ) {
|
||||
|
Reference in New Issue
Block a user