Index: chrome/test/data/History/Favicons.v8.sql |
diff --git a/chrome/test/data/History/Favicons.v7.sql b/chrome/test/data/History/Favicons.v8.sql |
similarity index 56% |
copy from chrome/test/data/History/Favicons.v7.sql |
copy to chrome/test/data/History/Favicons.v8.sql |
index 8b0fd2c220e4ae2136663b841b94330fa84cdb59..b329cbbefc37e2279bfbe52d41b6fc8d44ce830e 100644 |
--- a/chrome/test/data/History/Favicons.v7.sql |
+++ b/chrome/test/data/History/Favicons.v8.sql |
@@ -1,6 +1,6 @@ |
--- unit_tests --gtest_filter=ThumbnailDatabaseTest.Version7 |
+-- unit_tests --gtest_filter=ThumbnailDatabaseTest.Version8 |
-- |
--- .dump of a version 7 Favicons database. |
+-- .dump of a version 8 Favicons database. |
BEGIN TRANSACTION; |
CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR); |
INSERT INTO "meta" VALUES('version','7'); |
@@ -9,10 +9,10 @@ CREATE TABLE favicons(id INTEGER PRIMARY KEY,url LONGVARCHAR NOT NULL,icon_type |
INSERT INTO "favicons" VALUES(1,'http://www.google.com/favicon.ico',1); |
INSERT INTO "favicons" VALUES(2,'http://www.google.com/touch.ico',2); |
INSERT INTO "favicons" VALUES(3,'http://www.yahoo.com/favicon.ico',1); |
-CREATE TABLE favicon_bitmaps(id INTEGER PRIMARY KEY,icon_id INTEGER NOT NULL,last_updated INTEGER DEFAULT 0,image_data BLOB,width INTEGER DEFAULT 0,height INTEGER DEFAULT 0); |
-INSERT INTO "favicon_bitmaps" VALUES(1,1,1287424416,X'313233343631303233353631323033393437353136333435313635393133343837313034373831323336343931363534313932333435313932333435313233343931333400',32,32); |
-INSERT INTO "favicon_bitmaps" VALUES(2,2,1287424428,X'676F6977756567727172636F6D697A71797A6B6A616C697462616878666A7974727176707165726F6963786D6E6C6B686C7A756E616378616E65766961777274786379776867656600',32,32); |
-INSERT INTO "favicon_bitmaps" VALUES(3,3,1287424428,X'676F6977756567727172636F6D697A71797A6B6A616C697462616878666A7974727176707165726F6963786D6E6C6B686C7A756E616378616E65766961777274786379776867656600',32,32); |
+CREATE TABLE favicon_bitmaps(id INTEGER PRIMARY KEY,icon_id INTEGER NOT NULL,last_updated INTEGER DEFAULT 0,last_requested INTEGER DEFAULT 0, image_data BLOB,width INTEGER DEFAULT 0,height INTEGER DEFAULT 0); |
+INSERT INTO "favicon_bitmaps" VALUES(1,1,1287424416,0,X'313233343631303233353631323033393437353136333435313635393133343837313034373831323336343931363534313932333435313932333435313233343931333400',32,32); |
+INSERT INTO "favicon_bitmaps" VALUES(2,2,1287424428,1387424428,X'676F6977756567727172636F6D697A71797A6B6A616C697462616878666A7974727176707165726F6963786D6E6C6B686C7A756E616378616E65766961777274786379776867656600',32,32); |
+INSERT INTO "favicon_bitmaps" VALUES(3,3,1287424428,0,X'676F6977756567727172636F6D697A71797A6B6A616C697462616878666A7974727176707165726F6963786D6E6C6B686C7A756E616378616E65766961777274786379776867656600',32,32); |
CREATE TABLE icon_mapping(id INTEGER PRIMARY KEY,page_url LONGVARCHAR NOT NULL,icon_id INTEGER); |
INSERT INTO "icon_mapping" VALUES(1,'http://google.com/',1); |
INSERT INTO "icon_mapping" VALUES(2,'http://www.google.com/',1); |
@@ -21,6 +21,7 @@ INSERT INTO "icon_mapping" VALUES(4,'http://yahoo.com/',3); |
INSERT INTO "icon_mapping" VALUES(5,'http://www.yahoo.com/',3); |
CREATE INDEX favicons_url ON favicons(url); |
CREATE INDEX favicon_bitmaps_icon_id ON favicon_bitmaps(icon_id); |
+CREATE INDEX favicon_bitmaps_last_requested ON favicon_bitmaps(last_requested); |
CREATE INDEX icon_mapping_page_url_idx ON icon_mapping(page_url); |
CREATE INDEX icon_mapping_icon_id_idx ON icon_mapping(icon_id); |
COMMIT; |