Hi
I have been searching for information about the version of SQLite included with PB. Does anyone know where to find this information? Similarly is they a way to find out the versions of other libraries included with PB. It would be nice if these versions where listed in the documentation with each release of PB.
Thanks,
Simon
Where do I find the version of SQLite used by PB?
Where do I find the version of SQLite used by PB?
Simon White
dCipher Computing
dCipher Computing
Re: Where do I find the version of SQLite used by PB?
Code: Select all
SELECT sqlite_version();
Re: Where do I find the version of SQLite used by PB?
Code: Select all
UseSQLiteDatabase()
dbn = OpenDatabase(#PB_Any, ":memory:", #Empty$, #Empty$, #PB_Database_SQLite)
DatabaseQuery(dbn, "Select sqlite_version();")
NextDatabaseRow(dbn)
Debug GetDatabaseString(dbn, 0)
FinishDatabaseQuery(dbn)
CloseDatabase(dbn)
Code: Select all
UseSQLiteDatabase()
ImportC "" ; UseSQLiteDatabase() must be called prior
sqlite3_libversion()
EndImport
Debug PeekS(sqlite3_libversion(), -1, #PB_Ascii)
Last edited by skywalk on Mon Dec 31, 2018 10:30 pm, edited 1 time in total.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Where do I find the version of SQLite used by PB?
Is this a 3rd party lib you are using?skywalk wrote:Or more directlyCode: Select all
UseSQLiteDatabase() Debug PeekS(sqlite3_libversion(), -1, #PB_Ascii)
sqlite3_libversion() doesn't seem to be a native PB command.
Re: Where do I find the version of SQLite used by PB?
Sorry, left out the following:
ImportC "" ; UseSQLiteDatabase() must be called prior
sqlite3_libversion()
EndImport
ImportC "" ; UseSQLiteDatabase() must be called prior
sqlite3_libversion()
EndImport
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum