> On 11 Mar 2015, at 11:50pm, Milan Roubal <roubal at keyserver.cz> wrote:
> 
>> SELECT stringmetrics("qgrams_distance","similarity","Roubal",
>> "RoubalRoubalRoubalRo","");
> crash

Then that's the one to use for debugging.  It is extremely simple and contains 
no database access at all so now you know the problem has nothing to do with 
your table setup or your data.

I suspect there's a bug in the stringmetrics library and you should be able to 
approach the authors of it with that very simple way to reproduce your crash.

Erm ... it just occurred to me that SQLite uses single quotes for strings, not 
double quotes. Do you get the same crash if you do

SELECT stringmetrics('qgrams_distance','similarity','Roubal',
'RoubalRoubalRoubalRo','');

?  If so, the problem is in the library.  If not, try using single quotes in 
your original sourcecode.

Simon.

Reply via email to