New submission from Fred Fettinger fetti...@gmail.com:
Handling of long integers is broken for arguments to sqlite functions created
with the create_function api. Integers passed to a sqlite function are always
converted to int instead of long, which produces an incorrect value for
integers
Fred Fettinger fetti...@gmail.com added the comment:
I've never really looked at the python source before, but this is my best guess
at the problem:
For the standard SELECT query:
In Modules/_sqlite/cursor.c, _pysqlite_fetch_one_row() has this code:
PY_LONG_LONG intval;
...
} else if (coltype