Hi
Attached is a patch to make ECPGconnect call ECPGclear_auto_mem,
as ECPGdo already does.


Peter Harris
Concept Systems Ltd

This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to whom they are addressed.  If 
you are not the original recipient or the person responsible for delivering the 
email to the intended recipient, be advised that you have received this email 
in error, and that any use, dissemination, forwarding, printing, or copying of 
this email is strictly prohibited. If you received this email in error, please 
immediately notify the sender and delete the original.


--- connect.c   2006-11-07 14:12:33.000000000 +0000
+++ connect.new.c       2006-11-07 14:14:41.000000000 +0000
@@ -277,6 +277,8 @@
 
        ECPGinit_sqlca(sqlca);
 
+       ECPGclear_auto_mem();
+
        if (INFORMIX_MODE(compat))
        {
                char       *envname;
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to