This is a cryptographically signed message in MIME format.
--------------ms060507090607040908080102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable
pierre@reactos.org wrote:
With this patch, before preparing any req on the given connection handl=
e, the
backend will first try to check whether the connection is active by iss=
ue a
dummy query. In case it's not, it will close the previous connection an=
d open a
new one. And then, will prepare the req on the connection link.
I made this choice of developement because, preparing statement, execut=
ing it
and then, only looking whether it fails to re-submit would have been mo=
re
complex, since it would have required to start over the whole process f=
or the
query (statement preparation and such) while preparation & execution ar=
en't not
in the same function.
Hmm, so there's an extra dummy query for each real query. If the SQL DB i= s=20 connected over network this means a synchronous extra round trip for each= query.
Ciao, Michael.
--------------ms060507090607040908080102 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFfzCC BXswggNjoAMCAQICAwxOfTANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0xMjEw MDIyMDE3MDlaFw0xNDEwMDIyMDE3MDlaMD8xGDAWBgNVBAMUD01pY2hhZWwgU3Ry9mRlcjEj MCEGCSqGSIb3DQEJARYUbWljaGFlbEBzdHJvZWRlci5jb20wggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDo2SKth5GhtaDrCyfGtyUG+/hAAa/J52L0NFN4SSRvTtdGf9HfWwwd NCtgae0TVGWk2lKDbXA9d5vmyIiRhuwxd90H6FLErhRBeB9G67qtw87E8WUoXt2DwPQEUTWV hqHpPadlmgFw3+i3TGQQTe3O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