mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
This commit is contained in:
parent
d67d05230e
commit
85864b5fc2
@ -70,9 +70,9 @@ public:
|
||||
struct DiagnosticFields
|
||||
{
|
||||
/// SQLGetDiagRec fields
|
||||
POCO_SQLCHAR _sqlState[SQL_STATE_SIZE];
|
||||
POCO_SQLCHAR _message[SQL_MESSAGE_LENGTH];
|
||||
SQLINTEGER _nativeError;
|
||||
POCO_SQLCHAR _sqlState[SQL_STATE_SIZE];
|
||||
POCO_SQLCHAR _message[SQL_MESSAGE_LENGTH];
|
||||
SQLINTEGER _nativeError;
|
||||
};
|
||||
|
||||
typedef std::vector<DiagnosticFields> FieldVec;
|
||||
|
@ -129,7 +129,7 @@ public:
|
||||
std::string toString() const
|
||||
{
|
||||
std::stringstream os;
|
||||
os << "ODBC Error: " << what() << std::endl
|
||||
os << "ODBC Error: " << _error.toString() << std::endl
|
||||
<< "===================" << std::endl
|
||||
<< _error.toString() << std::endl ;
|
||||
return os.str();
|
||||
|
Loading…
x
Reference in New Issue
Block a user