Looking at CVS I noticed you fixed the non-POD bug in TableExists. Perhaps you could change the function to this:
Code: Select all
bool wxSQLite3Database::TableExists(const wxString& tableName)
{
wxString sql;
sql << _T("select count(*) from sqlite_master where type='table' and name='") << tableName << _T("'");
int rc = ExecuteScalar(sql);
return (rc > 0);
}
Also, gcc complains:
wxsqlite3.h:280: warning: