MySql: Connect errors now reported

git-svn-id: svn://ultimatepp.org/upp/trunk@13611 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-09-21 08:20:10 +00:00
parent e892be548e
commit 8ab637701c

View file

@ -68,6 +68,7 @@ bool MySqlSession::DoConnect()
sql.Execute("SET CHARACTER SET utf8");
return true;
}
SetError(mysql_error(mysql), "", mysql_errno(mysql));
Close();
return false;
}