ownSql: Do not use sqlite3 method not present in older version

Was only used for debug output anyway and broke RHEL/CentOS6
This commit is contained in:
Daniel Molkentin 2015-08-07 10:53:18 +02:00
parent 2a4396fbdb
commit b906c70a86

View file

@ -137,7 +137,7 @@ void SqlDatabase::close()
if( _db ) {
SQLITE_DO(sqlite3_close(_db) );
if (_errId != SQLITE_OK) {
qWarning() << "ERROR When closing DB" << _error << sqlite3_db_filename(_db, 0);
qWarning() << "ERROR When closing DB" << _error;
}
_db = 0;
}