From 2cbaaee6c3bd4f41470aa44d6a620de0e93d1036 Mon Sep 17 00:00:00 2001 From: Michael Meskes Date: Fri, 20 Jun 2003 13:36:34 +0000 Subject: Just another Informix compatibility change. They uses "free" for cursors as wellafter closing them. --- src/interfaces/ecpg/compatlib/informix.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/interfaces/ecpg/compatlib/informix.c') diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c index 5e3e94b416f..2ac89e8f7e1 100644 --- a/src/interfaces/ecpg/compatlib/informix.c +++ b/src/interfaces/ecpg/compatlib/informix.c @@ -695,6 +695,16 @@ ECPGconnect_informix(int lineno, const char *name, const char *user, const char return (ECPGconnect(lineno, informix_name, user, passwd, connection_name , autocommit)); } +bool +ECPGdeallocate_informix(int lineno, char *name) +{ + ECPGdeallocate_one(lineno, name); + + /* Just ignore all errors since we do not know the list of cursors we + * are allowed to free. We have to trust that the software. */ + return true; +} + static struct var_list { int number; -- cgit v1.2.3