src/SqlException.cpp
branchv_0
changeset 38 a871779a4e3c
parent 36 91cb012d779a
child 39 b4af13653313
--- a/src/SqlException.cpp	Sun May 31 21:20:24 2020 +0200
+++ b/src/SqlException.cpp	Mon Jun 01 00:14:40 2020 +0200
@@ -30,11 +30,9 @@
 namespace sql {
 
 SqlException::SqlException(std::wstring message) : message(message) {
-	std::wcerr << L"XXX SqlException: " << message.c_str() << std::endl << std::flush; // FIXME: remove
 }
 
 SqlException::SqlException(std::wstring message, SQLRETURN resultCode, SQLSMALLINT handleType, SQLHANDLE handle) : message(message), resultCode(resultCode) {
-	std::wcerr << L"XXX SqlException: " << message.c_str() << std::endl << std::flush; // FIXME: remove
 	std::wstring_convert < std::codecvt_utf8<wchar_t>> convertor; // TODO: support also other encodings
 	SQLCHAR buffer[SQL_MAX_MESSAGE_LENGTH + 1];
 	SQLCHAR sqlstate[SQL_SQLSTATE_SIZE + 1];