mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-15 01:04:43 +08:00
Seralize empty list as undef.
This commit is contained in:
@@ -125,6 +125,12 @@ is( $q->join_quote('`db`', '`foo`.`tbl`'), '`foo`.`tbl`', 'join_merge(`db`, `foo
|
||||
# ###########################################################################
|
||||
# (de)serialize_list
|
||||
# ###########################################################################
|
||||
|
||||
is(
|
||||
$q->serialize_list( () ),
|
||||
undef,
|
||||
'Serialize empty list returns undef'
|
||||
);
|
||||
|
||||
binmode(STDOUT, ':utf8')
|
||||
or die "Can't binmode(STDOUT, ':utf8'): $OS_ERROR";
|
||||
|
||||
Reference in New Issue
Block a user