vxodbc: we now reconnect automatically if our connection dies.
commita0fcff2a6696c1b8eb868e0492275ceea8fd6d81
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 26 Nov 2008 02:40:10 +0000 (25 21:40 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 26 Nov 2008 02:40:57 +0000 (25 21:40 -0500)
tree9907b86f3d3d6441a649d42f5af0db1c14350f1c
parentc1093f90fc4d174a493e1018c37b6780a682669c
vxodbc: we now reconnect automatically if our connection dies.

Now, like magic, you can restart versaplexd and not have all your clients
die immediately.  They might get a little confused if they try to run a
query *while* the server is down, but should otherwise be okay.

We only try to reconnect up to one time per query, to avoid any infinite
loops.
vxodbc/execute.cc
vxodbc/info.cc
vxodbc/vxhelpers.cc
vxodbc/vxhelpers.h