type count fix for nanpa preload script
git-svn-id: svn://192.168.202.10@2146 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -486,9 +486,9 @@ while ($sthArows > $rec_count)
|
|||||||
}
|
}
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
if ($type=='S') {$landline++;}
|
if ($type =~ /S|V/) {$landline++;}
|
||||||
if ($type=='C') {$cellphone++;}
|
if ($type =~ /C/) {$cellphone++;}
|
||||||
if ($type=='I') {$invalid++;}
|
if ($type =~ /I/) {$invalid++;}
|
||||||
$rec_count++;
|
$rec_count++;
|
||||||
if ( ($rec_count =~ /00000$/i) && ($DB) ) {print STDERR "$rec_count / $sthArows (S:$landline | C:$cellphone | I:$invalid)\n";}
|
if ( ($rec_count =~ /00000$/i) && ($DB) ) {print STDERR "$rec_count / $sthArows (S:$landline | C:$cellphone | I:$invalid)\n";}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user