Display NULL for null fields.

This commit is contained in:
Andrew McMillan 2007-11-24 23:07:54 +13:00
parent 9a32c2c806
commit b66460a34d

View File

@ -199,6 +199,7 @@ if ( defined(@{$queries}) && @{$queries} ) {
print STDERR "Processing results row\n" if ( $debug );
my $sep = "";
foreach my $column ( @$row ) {
$column = 'NULL' unless ( defined($column) );
print $sep, $column;
$sep = " --- ";
}