summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/web_database
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 01:01:06 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 01:01:06 +0000
commitcac27f7569dd16b2699e730626518b7e7bae64cf (patch)
treec4f34e1ca3f21d6d1b4077fe98d3d258203b3ba0 /chrome/test/data/web_database
parentd964d6d080a3e6cd6c5a78bc4090046e8f025867 (diff)
downloadchromium_src-cac27f7569dd16b2699e730626518b7e7bae64cf.zip
chromium_src-cac27f7569dd16b2699e730626518b7e7bae64cf.tar.gz
chromium_src-cac27f7569dd16b2699e730626518b7e7bae64cf.tar.bz2
Chrome crashes on migration of Autofill data with country "UK"
Fixes an incorrect mapping from "UK" the country name to "GB" the country code. This was causing trouble with data migration of Autofill data in the UK. BUG=74511 TEST=WebDatabaseMigrationTest.MigrateVersion31ToCurrent Review URL: http://codereview.chromium.org/6594077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76476 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/web_database')
-rw-r--r--chrome/test/data/web_database/version_31.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/data/web_database/version_31.sql b/chrome/test/data/web_database/version_31.sql
index feb12b4..bfa7443 100644
--- a/chrome/test/data/web_database/version_31.sql
+++ b/chrome/test/data/web_database/version_31.sql
@@ -15,7 +15,7 @@ CREATE TABLE web_apps (url LONGVARCHAR UNIQUE,has_all_images INTEGER NOT NULL);
CREATE TABLE autofill (name VARCHAR, value VARCHAR, value_lower VARCHAR, pair_id INTEGER PRIMARY KEY, count INTEGER DEFAULT 1);
CREATE TABLE autofill_dates ( pair_id INTEGER DEFAULT 0, date_created INTEGER DEFAULT 0);
CREATE TABLE autofill_profiles ( label VARCHAR, unique_id INTEGER PRIMARY KEY, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, email VARCHAR, company_name VARCHAR, address_line_1 VARCHAR, address_line_2 VARCHAR, city VARCHAR, state VARCHAR, zipcode VARCHAR, country VARCHAR, phone VARCHAR, fax VARCHAR, date_modified INTEGER NOT NULL DEFAULT 0, guid VARCHAR NOT NULL DEFAULT "");
-INSERT INTO "autofill_profiles" VALUES('Elvis Presley, 1122 PBJ Lane',1,'Elvis','','Presley','elvis@elvis.com','Hip Shake Inc.','1122 PBJ Lane','Suite 1','Memphis','TN','38116','USA','9013323322','',1288642516,'A4FF32F6-EF3F-379A-87F2-40A8811182A7');
+INSERT INTO "autofill_profiles" VALUES('Elvis Presley, 1122 PBJ Lane',1,'Elvis','','Presley','elvis@elvis.com','Hip Shake Inc.','1122 PBJ Lane','Suite 1','Memphis','TN','38116','UK','9013323322','',1288642516,'A4FF32F6-EF3F-379A-87F2-40A8811182A7');
CREATE TABLE credit_cards ( label VARCHAR, unique_id INTEGER PRIMARY KEY, name_on_card VARCHAR, type VARCHAR, card_number VARCHAR, expiration_month INTEGER, expiration_year INTEGER, verification_code VARCHAR, billing_address VARCHAR, shipping_address VARCHAR, card_number_encrypted BLOB, verification_code_encrypted BLOB, date_modified INTEGER NOT NULL DEFAULT 0, guid VARCHAR NOT NULL DEFAULT "");
INSERT INTO "credit_cards" VALUES('',2,'Jim J Jones','','',1,2011,'','0','',X'7631309863E9F1F33C2BDBFBFC86708448BDD8B37A495B628C8459A60D0CCD1047E69F',X'',1288642516,'B77F749C-8B0E-44B2-D299-3C80A95E0ADD');
CREATE TABLE token_service (service VARCHAR PRIMARY KEY NOT NULL,encrypted_token BLOB);