[Lazarus] SQLite database schema has changed
Luca Olivetti
luca at wetron.es
Thu Dec 4 12:00:11 CET 2008
En/na Luiz Americo Pereira Camara ha escrit:
> Luca Olivetti escreveu:
>> En/na Luiz Americo Pereira Camara ha escrit:
>>
>>
>>> Try to use the function sqlite3_enable_shared_cache with true as
>>> parameter in the start of your application.
>>>
>>> The function declaration:
>>>
>>> function sqlite3_enable_shared_cache(Enable: Boolean): LongInt; cdecl;
>>> external 'sqlite3';
>>>
>>
>> I don't think it will help,
>
> It worked for me. I had the same problem in my app. Did you tried?
No, I didn't try, I just coped with the error (preparing the query again).
Note also that I was not using sqldb but the raw sqlite functions.
Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 Fax +34 93 5883007
More information about the Lazarus
mailing list