initialisesqlite raise exception
Original Reporter info from Mantis: apeoperaio @andrea.mauri
-
Reporter name: Andrea Mauri
Original Reporter info from Mantis: apeoperaio @andrea.mauri
- Reporter name: Andrea Mauri
Description:
I want to load libsqlite3.so.0 instead of libsqlite3.so. So I use
InitialiseSQLite('libsqlite3.so.0');
but when I connect to the sqlite DB an exception is raised:
sqlite interface already initialized from library libsqlite3.so.0
Steps to reproduce:
With lazarus:
new project, add sqlite3connection and set databasename to an existing db, add in the program source InitialiseSQLite('libsqlite3.so.0');
Put a button and in the click event:
sqlite3connection.connected:= true;
Run the program, when you click the button the exception:
sqlite interface already initialized from library libsqlite3.so.0
is raised.
Mantis conversion info:
- Mantis ID: 17633
- OS: linux
- Version: 2.4.0
- Fixed in version: 2.4.4
- Fixed in revision: 16866 (#06c039d3)
- Target version: 3.0.0