Fix test failure due to merge. _views are no longer around on the places branch.

This commit is contained in:
Shawn Wilsher 2010-11-10 10:24:44 -08:00
Родитель af6792747b
Коммит 6c06c92777
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -70,8 +70,8 @@ function getTransitionForUrl(aUrl)
let dbConn = PlacesUtils.history
.QueryInterface(Ci.nsPIPlacesDatabase).DBConnection;
let stmt = dbConn.createStatement(
"SELECT visit_type FROM moz_historyvisits_view WHERE place_id = " +
"(SELECT id FROM moz_places_view WHERE url = :page_url)");
"SELECT visit_type FROM moz_historyvisits WHERE place_id = " +
"(SELECT id FROM moz_places WHERE url = :page_url)");
stmt.params.page_url = aUrl;
try {
ok(stmt.executeStep(), "Found the visit in the database");