Fix linux compile. Thanks to click, hunshijie and tomkuzyno for spotting the culprits.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-09-29 14:59:05 +02:00
parent bf72fa749f
commit d3b30e979a
2 changed files with 8 additions and 3 deletions

View File

@@ -53,6 +53,11 @@ struct MySQLConnectionInfo
std::string database;
std::string host;
std::string port_or_socket;
void ChangeHost(const std::string& newHost) /// Needed for unix socket case
{
host = newHost;
}
};
class MySQLConnection