From 2d5ff2f9a04f8086097abe7aa7a439ec09070171 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Wed, 4 Oct 2000 12:39:45 +0000 Subject: Added patch by Cristof for catching yet another NOTICE. --- src/interfaces/ecpg/lib/connect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/interfaces/ecpg/lib/connect.c') diff --git a/src/interfaces/ecpg/lib/connect.c b/src/interfaces/ecpg/lib/connect.c index aa14174ad40..dec6b9a85ed 100644 --- a/src/interfaces/ecpg/lib/connect.c +++ b/src/interfaces/ecpg/lib/connect.c @@ -158,7 +158,8 @@ ECPGnoticeProcessor(void *arg, const char *message) } /* NOTICE: PerformPortalClose: portal "*" not found */ - if (!strncmp(message,"PerformPortalClose: portal",26) + if ((!strncmp(message,"PerformPortalClose: portal",26) + || !strncmp(message,"PerformPortalFetch: portal",26)) && strstr(message+26,"not found")) { ECPGnoticeProcessor_raise(ECPG_NOTICE_UNKNOWN_PORTAL, message); -- cgit v1.2.3