The Query constructor that accepted a pointer was
removed, leaving only the constructor that accepts
a reference. The Database::Connected method was
added.
The constructor now accepts an optional IError* parameter, so error logging is enabled immediately. There is better error checking and safer code when a database connection fails. There is a new method Query::Connected to check that the database connection is OK. mysql_ping is used to make sure old connections are still OK. Reconnect is enabled by default, so a timed out connection should be reconnected transparently.