mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
MySql: Connect errors now reported
git-svn-id: svn://ultimatepp.org/upp/trunk@13611 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e892be548e
commit
8ab637701c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue