On Mar 05, Clark Bassett <[EMAIL PROTECTED]> wrote:
> The first, and most serious, is that soundex() appears to have a
> length limit in SQLite
Wooops! :-)
I fear it's a buffer overflow in the cutils C module. :-/
I've extended MXLINELEN to 1024 and replaced some critical strcpy
with strncpy calls (other strcpy remain, but they are "protected"
by fgets, and so...)
Right now I don't have a way to check if it's enough, anyway
I've committed it to the CVS; if possible, try it.
> The second is that the CharactersCache class is not allowed
> for custom queries and thus performance in SQLite is _slow_
> when flushing the characters cache. This is sovled by adding
> 'AFTER_CHARACTERS_TODB' and 'BEFORE_CHARACTERS_TODB' to
> ALLOWED_TIMES,
Another wooops! ;-)
I must have forgot it; I think this one is fixed too, now.
By the way, I'm currently trying to understand why the cutils.c
module just _explode_ when used in the Symbian environment.
It compiles and can be imported/viewed by a python script, but even
a simple call like cutils.soundex('abc') brings down the whole
python interpreter. :-/
Thank you very much: I've added your name to the credits.
--
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Imdbpy-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel