ODBC: Now using native error code in error

git-svn-id: svn://ultimatepp.org/upp/trunk@11220 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-07-07 13:04:44 +00:00
parent f0c3c939ee
commit 1e0bc19baa

View file

@ -147,7 +147,7 @@ bool ODBCSession::IsOk(SQLRETURN ret)
error << "\r\n";
error << (char *)Msg;
}
SetError(error, statement);
SetError(error, statement, NativeError);
return false;
}