Re: [sqlite] C++ sqlite_version()

2017-08-28 Thread Jens Alfke
> On Aug 25, 2017, at 7:56 PM, Papa wrote: > > const std::string& SQLite3_RDB::getSQLiteVersion(){ > tmp = sqlite_version(); > } sqlite_version() is not a function in SQLite itself; is it from some wrapper library you're using? Most likely the crash is in that function.

Re: [sqlite] C++ sqlite_version()

2017-08-25 Thread Keith Medcalf
apa >Sent: Friday, 25 August, 2017 20:56 >To: SQLite mailing list >Subject: [sqlite] C++ sqlite_version() > >In my C++ program, I'd like to display the SQLite3 version. To do so, >this is what I have done. > >class SQLite3_RDB { >     private: >     sqlite3* db; /

Re: [sqlite] C++ sqlite_version()

2017-08-25 Thread Keith Medcalf
lite.org] On Behalf Of Papa >Sent: Friday, 25 August, 2017 20:56 >To: SQLite mailing list >Subject: [sqlite] C++ sqlite_version() > >In my C++ program, I'd like to display the SQLite3 version. To do so, >this is what I have done. > >class SQLite3_RDB { >     private: >

[sqlite] C++ sqlite_version()

2017-08-25 Thread Papa
In my C++ program, I'd like to display the SQLite3 version. To do so, this is what I have done. class SQLite3_RDB {     private:     sqlite3* db; //!< Data Base         std::string tmp;    public:     SQLite3_RDB(){}     ~SQLite3_RDB(){sqlite3_close(db); }     const std::string&