From 1cb8444a8af530e07fef3d19f7218c28b6402d9c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 7 Apr 2007 06:54:02 +0000 Subject: [PATCH] Disabled the extra integrity check of the temporary shutdown backup file on Windows, since it was preventing zotero.sqlite.tmp from being renamed to zotero.sqlite.bak -- there really needs to be a mozStorage closeDatabase() function Also addresses #605, Combine alert titles and messages --- chrome/content/zotero/xpcom/db.js | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 76c94ffb5..a37ee98a1 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -443,7 +443,7 @@ Zotero.DBConnection.prototype.getColumns = function (table) { Zotero.DBConnection.prototype.getColumnHash = function (table) { var cols = this.getColumns(table); - var hash = new Array(); + var hash = {}; if (cols.length) { for (var i=0; i