From 85929cd27df0dd4b460e929f5e13ea3a832add8b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 18 Aug 2006 19:24:46 +0000 Subject: [PATCH] Fixes #195, ISBNs should not become INTs The ISBNs were actually stored fine in the database--it was just that the DB methods were using getInt32() to retrieve them. Using getInt64() instead. --- chrome/chromeFiles/content/scholar/xpcom/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/db.js b/chrome/chromeFiles/content/scholar/xpcom/db.js index 4fc069a82..a2517cb08 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/db.js +++ b/chrome/chromeFiles/content/scholar/xpcom/db.js @@ -456,7 +456,7 @@ Scholar.DB = new function(){ var type = statement.getTypeOfIndex(i); switch (type){ case statement.VALUE_TYPE_INTEGER: - var func = statement.getInt32; + var func = statement.getInt64; break; case statement.VALUE_TYPE_TEXT: var func = statement.getUTF8String;