I am very new to mysql++. These may be or may be not bug, just my points
of views.
1. the return value of 'mysql_init' is not checked. Maybe a "out of
memory" exception?
2. when some operation fails because of lock(), throw BadQuery(error())
may throw a null string because this is not a real MySQL error.
[code]
if (lock()) {
if (throw_excptns)
throw BadQuery(error());
else
...
}
[/code]
3. where is Query::lock() ?
4. return ResUse(mysql_use_result(&mysql), this); in Connection::use.
If mysql_use_result(&mysql) fails, successive call ResUse::fetch_row
will throw a "Results not fetched" but actually it was fetched, but failed.
Thank you.