{
pFavIconBuffer = new ByteBuffer();
r = PresentationModelBase::GetColumn(columnCount, *pFavIconBuffer);
- if (!IsFailed(r))
+ if (!IsFailed(r) && pFavIconBuffer->GetCapacity() > 0)
{
pHistory->SetFavIconBuffer(*pFavIconBuffer);
}
query.Append(historyTable);
query.Append(L".TITLE LIKE '%");
query.Append(text);
- query.Append("% 'ESCAPE '/')");
+ query.Append("%'ESCAPE '/')");
query.Append(" OR ");
query.Append(L"(");
query.Append(historyTable);
result
HistoryPresentationModel::GetMostVisitedSites(ArrayList& pHistoryList)
{
+
int count = -1;
String query;
String historyTable(HISTORY_DATA_TABLE);