mirror of
https://github.com/allankoechke/SQLiteCpp.git
synced 2026-12-01 01:07:39 +00:00
Add Database::VERSION, getLibVersion() and getLibVersionNumber()
Usefull to get SQLite3 version without including sqlite3.h in application code
This commit is contained in:
@@ -85,8 +85,8 @@ private:
|
||||
int main ()
|
||||
{
|
||||
// Using SQLITE_VERSION would require #include <sqlite3.h> which we want to avoid
|
||||
// TODO: replace by a SQLite::VERSION
|
||||
// std::cout << "SQlite3 version " << SQLITE_VERSION << std::endl;
|
||||
// std::cout << "SQlite3 version " << SQLITE_VERSION << std::endl;
|
||||
std::cout << "SQlite3 version " << SQLite::VERSION << " (" << SQLite::getLibVersion() << ")" << std::endl;
|
||||
std::cout << "SQliteC++ version " << SQLITECPP_VERSION << std::endl;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user