Fixed bug in editing anonymous attributes in database. Now all attributes get modified instead

of only the first.
This commit is contained in:
amusil%netscape.com 1999-10-19 22:46:29 +00:00
Родитель d7d84c1af9
Коммит 77e05ac57e
1 изменённых файлов: 3 добавлений и 9 удалений

Просмотреть файл

@ -1472,9 +1472,7 @@ nsresult nsAddrDatabase::DoStringAnonymousTransaction
AddCharStringColumn(anonymousRow, anonymousColumnToken, pValueStr);
err = m_mdbAnonymousTable->AddRow(GetEnv(), anonymousRow);
anonymousRow->CutStrongRef(GetEnv());
return NS_OK;
}
err = NS_ERROR_FAILURE;
}
}
}
}
@ -1532,9 +1530,7 @@ nsresult nsAddrDatabase::DoIntAnonymousTransaction
AddIntColumn(anonymousRow, anonymousColumnToken, value);
err = m_mdbAnonymousTable->AddRow(GetEnv(), anonymousRow);
anonymousRow->CutStrongRef(GetEnv());
return NS_OK;
}
err = NS_ERROR_FAILURE;
}
}
}
}
@ -1597,9 +1593,7 @@ nsresult nsAddrDatabase::DoBoolAnonymousTransaction
AddIntColumn(anonymousRow, anonymousColumnToken, nBoolValue);
err = m_mdbAnonymousTable->AddRow(GetEnv(), anonymousRow);
anonymousRow->CutStrongRef(GetEnv());
return NS_OK;
}
err = NS_ERROR_FAILURE;
}
}
}
}