зеркало из https://github.com/mozilla/gecko-dev.git
Bug 313941: sanitycheck should quote bad values so empty values are apparent
Patch by Matt McHenry <mmchenry@carnegielearning.com> r=wurblzap, a=justdave
This commit is contained in:
Родитель
6594baf721
Коммит
05f1cf3889
|
@ -302,7 +302,7 @@ sub CrossCheck {
|
|||
while (MoreSQLData()) {
|
||||
my ($value, $key) = FetchSQLData();
|
||||
if (!$exceptions{$value}) {
|
||||
my $alert = "Bad value $value found in $refertable.$referfield";
|
||||
my $alert = "Bad value "$value" found in $refertable.$referfield";
|
||||
if ($keyname) {
|
||||
if ($keyname eq 'bug_id') {
|
||||
$alert .= ' (bug ' . BugLink($key) . ')';
|
||||
|
@ -463,7 +463,7 @@ sub DoubleCrossCheck {
|
|||
while (MoreSQLData()) {
|
||||
my ($value1, $value2, $key) = FetchSQLData();
|
||||
|
||||
my $alert = "Bad values $value1, $value2 found in " .
|
||||
my $alert = "Bad values "$value1", "$value2" found in " .
|
||||
"$refertable.$referfield1 / $refertable.$referfield2";
|
||||
if ($keyname) {
|
||||
if ($keyname eq 'bug_id') {
|
||||
|
|
Загрузка…
Ссылка в новой задаче