--- parser3/src/main/pa_sql_driver_manager.C 2001/10/30 15:08:20 1.46 +++ parser3/src/main/pa_sql_driver_manager.C 2001/10/31 14:42:05 1.47 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_sql_driver_manager.C,v 1.46 2001/10/30 15:08:20 paf Exp $ + $Id: pa_sql_driver_manager.C,v 1.47 2001/10/31 14:42:05 paf Exp $ */ #include "pa_sql_driver_manager.h" @@ -41,8 +41,11 @@ public: and from there... #2 propagate_exception() */ virtual void _throw(const char *comment) { + String& protocol=*NEW String(pool()); + /// hiding passwords and addresses from accidental show [imagine user forgot @exception] + protocol << furl.mid(0, furl.pos(":")) << "..."; e=Exception(0, 0, - &furl, + &protocol, comment); longjmp(mark, 1);