From ce2b114d5031b64fd85a41cb2a96028f12c8005b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 17 Oct 1998 04:59:23 +0200 Subject: [PATCH] Now checks for existance of Oracle.oracle. Rev: lib/modules/Sql.pmod/oracle.pike:1.2 --- lib/modules/Sql.pmod/oracle.pike | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/modules/Sql.pmod/oracle.pike b/lib/modules/Sql.pmod/oracle.pike index 19a3715bef..cad80da162 100644 --- a/lib/modules/Sql.pmod/oracle.pike +++ b/lib/modules/Sql.pmod/oracle.pike @@ -1,7 +1,14 @@ /* - * $Id: oracle.pike,v 1.1 1997/08/22 22:35:38 grubba Exp $ + * $Id: oracle.pike,v 1.2 1998/10/17 02:59:23 grubba Exp $ * * Glue for the Oracle-module */ +#if constant(Oracle.oracle) inherit Oracle.oracle; +#else /* !constant(Oracle.oracle) */ +void create() +{ + destruct(); +} +#endif /* constant(Oracle.oracle) */ -- GitLab