wxSqlite won't compile as is - typos in wxsqlite.cpp
Status: Beta
Brought to you by:
blackpaw
On Mandrake 10 wxSqlite can't compile as is. In the file
wxsqlite.cpp, on line 295, it should be :
sql << wxT("SELECT count(name) FROM sqlite_master
WHERE ((type = %Q) and (name = %Q))");
instead of
sql << "SELECT count(name) FROM sqlite_master
WHERE ((type = %Q) and (name = %Q))";
On line 300 it should be something like:
if (! q.Execute( ( const char* )sql.mb_str( ), "table",
( const char* ) tableName.mb_str( )))
instead of
if (! q.Execute(sql, "table", (const char *) tableName))