Commit 8fe736a9 authored by timeless@mozdev.org's avatar timeless@mozdev.org
Browse files

Bug 577363 assignment to undeclared variable stmt in _dbMigrateToVersion4

r=zpao
parent 64d51e31
......@@ -1376,6 +1376,7 @@ LoginManagerStorage_mozStorage.prototype = {
// Get a list of existing logins
let logins = [];
let stmt;
query = "SELECT id, encryptedUsername, encryptedPassword " +
"FROM moz_logins WHERE encType isnull";
try {
......@@ -1431,6 +1432,7 @@ LoginManagerStorage_mozStorage.prototype = {
// Get a list of IDs for existing logins.
let ids = [];
let stmt;
query = "SELECT id FROM moz_logins WHERE timeCreated isnull OR " +
"timeLastUsed isnull OR timePasswordChanged isnull OR timesUsed isnull";
try {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment