-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Adam

> // Norbert, if this object is declared here then each call to this
> function // leaves a /dev/urandom file descriptor open.  Making it
> global leaves only // a single file descriptor open. #ifndef
> USE_GLOBAL_DB_OBJECT OpenDBX::Conn GetAllTxFileDb; #endif 
> PTR_COLUMN_NAME_POS_PAIR pNameCol = NULL;
> 
> try { GetAllTxFileDb = Conn( "mssql", "172.16.232.60", "" );

Doesn't it crash if you remove the try/catch here and write

OpenDBX::Conn GetAllTxFileDb = Conn( "mssql", "172.16.232.60", "" );

instead? If it works, than the code in the copy constructors creates
the problem because you are creating an empty object first and copying
an initialized object into that afterwards.


Norbert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS6DHnAAoJEA3e3tWv2uU+ux0P/0HFFhY7IySP8ljR6ZJyBFZ2
JDuPb0Xe1COF4ILv4BXik5t84X0isb6v+AyQ4UFLwgVBsJU6OS8TtiNjooC0ZH0p
b41U3YxWjr1w3HIg7nv4ZC9bXRCUG2HdZFRxVLlivA5dMobanAG+z5Engo+UC//I
Lzz3wYeokTMNZQnOpor1e+huo3TnN3N7M7SI2GSYFLmczd1oAMeVKwxh1U/t2ig+
IRHJF0xOLbL8L9OYe49O4LGcv33gRBXim2Pe/uG/jmF31c2ePkQsJS2/XcsXSPrD
Jh1M166QQRcHze190x715kSYKUc5RJ0CNYFZuPeMY/539HjPm6UVmZ7/L89cQ2Eb
R41OlHkrJc3W1L05l44hODIpO4sqRRXc+y254ALFFfDJT6iZbSuxSRIANDcX8VE0
QRD11HqpOAhwDGr3K6wy6djttKQIMQ2b7b9g56OMsdtCUl/nTrQ0QDoyyexjyhPv
G08Isv8B/LeMjK4IWvVyJUajl+zqJKbLFrBEMJ08Egg65ZIMy6NG51co7rWXbbld
CX6txJN2I067xiOCeOnDRWERS89hgOmgqqUOHeM94aVJIeIcIi3sg/8aCYuUJrtb
PVKsTZerOsrUZuGFxfsJn3KPEdiNdHcLWXIQlOphSQ5S4X9l5FZWV5fYQW8Huhm3
ghutwPPtZJPNBhKo/3X8
=rgQB
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX

Reply via email to