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.
This commit is contained in:
Dan Stillman 2006-08-18 19:24:46 +00:00
parent 73cc7b8707
commit 85929cd27d

View file

@ -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;