commit 85929cd27df0dd4b460e929f5e13ea3a832add8b
parent 73cc7b8707fdd67afb88822f464c4b0e584b3340
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 18 Aug 2006 19:24:46 +0000
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.
Diffstat:
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
@@ -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;