Date: Wednesday, March 22, 2006 @ 18:56:40
Author: gilles
Path: /cvsroot/carob/carob/test
Modified: CarobProtector.hpp (1.13 -> 1.14)
(minor change) Fixed display of SQL state when reporting an uncaught exception
--------------------+
CarobProtector.hpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: carob/test/CarobProtector.hpp
diff -u carob/test/CarobProtector.hpp:1.13 carob/test/CarobProtector.hpp:1.14
--- carob/test/CarobProtector.hpp:1.13 Mon Feb 27 17:13:35 2006
+++ carob/test/CarobProtector.hpp Wed Mar 22 18:56:40 2006
@@ -115,7 +115,7 @@
std::wstring sqlState = ce.getSQLState();
reportError( context, CppUnit::Message(prefix
+
CarobNS::toString(ce.description())
- + CarobNS::toString(sqlState)));
+ + " (SQL State=" +
CarobNS::toString(sqlState) + ")"));
}
bool protect( const CppUnit::Functor &functor,
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits