mysql auxprop patch

Rob Siemborski rjs3 at andrew.cmu.edu
Thu Sep 12 09:10:32 EDT 2002


On Thu, 12 Sep 2002, [iso-8859-1] Brasseur Val=E9ry wrote:

> here is a patch for mysql.c auxprop plugin.
>
> this patch make the connection to mysql more "permanent", giving less
> connect/disconnect load on the mysql database !

That's great.

However, it looks like you don't ever verify that the connection to the
mysql database is still good before using it again.

Since we are now reusing it over a nonnegligable period of time, it is
possible that the database server could go away and come back between two
connections, but our context would now be invalid.

-Rob

-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper






More information about the Info-cyrus mailing list