[fpc-pascal] SqlDB + SQLite3 - CreateDB() call

LacaK lacak at zoznam.sk
Tue May 19 13:41:31 CEST 2015


Dňa 18.5.2015 o 11:33 Michael Van Canneyt napísal(a):
>
>
> On Mon, 18 May 2015, Graeme Geldenhuys wrote:
>
>> Hi,
>>
>> Does SqlDB+SQLite3 support creating a SQLite database via the
>> TSQLConnection.CreateDB() call? I tested with FPC 2.6.4 and it doesn't
>> seem to work.
>>
>> More specifically, TIBConnection has CreateDB() implemented, but
>> TSQLite3Connection doesn't.
>>
>> Is this implemented in the upcoming FPC 3.0 or in 3.1.1 (trunk)?
>
> Open creates the database if it doesn't exist yet.
>
> Patches to implement a 'CreateDB' welcome, though.

I have commited CreateDB/DropDB methods for TSQLite3Connection now (rev. 
30884-30885).
I did basic tests ... seems works, but I will be glad if somebody will 
test it also.
-Laco.




More information about the fpc-pascal mailing list