Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ba453c7d authored by Vadim Zeitlin's avatar Vadim Zeitlin
Browse files

Make SQL state in ODBC backend error messages more clear.

The error message was a bit too brief as it wasn't clear what things like
"(23000)" in it really stood for.
parent a374e540
No related branches found
No related tags found
No related merge requests found
......@@ -398,7 +398,7 @@ private:
}
std::ostringstream ss;
ss << "Error " << msg << ": " << message_ << " (" << sqlstate_ << ")";
ss << "Error " << msg << ": " << message_ << " (SQL state " << sqlstate_ << ")";
return ss.str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment