diff --git a/lib/modules/Sql.pmod/mysql.pike b/lib/modules/Sql.pmod/mysql.pike
index 8b6b999d13068cb359a53ba1eda7c7a21db0eab7..c6d866e7d7ea009ea186d487a270f7074845f175 100644
--- a/lib/modules/Sql.pmod/mysql.pike
+++ b/lib/modules/Sql.pmod/mysql.pike
@@ -1,12 +1,12 @@
 /*
- * $Id: mysql.pike,v 1.5 1998/07/03 20:03:49 mast Exp $
+ * $Id: mysql.pike,v 1.6 1998/10/17 03:05:49 grubba Exp $
  *
  * Glue for the Mysql-module
  */
 
 //.
 //. File:	mysql.pike
-//. RCSID:	$Id: mysql.pike,v 1.5 1998/07/03 20:03:49 mast Exp $
+//. RCSID:	$Id: mysql.pike,v 1.6 1998/10/17 03:05:49 grubba Exp $
 //. Author:	Henrik Grubbstr�m (grubba@idonex.se)
 //.
 //. Synopsis:	Implements the glue to the Mysql-module.
@@ -17,6 +17,8 @@
 //. SQL module.
 //.
 
+#if constant(Mysql.mysql)
+
 inherit Mysql.mysql;
 
 //. - quote
@@ -125,3 +127,10 @@ int decode_datetime (string timestr)
       return decode_date (timestr);
   }
 }
+
+#else /* !constant(Mysql.mysql) */
+void create()
+{
+  destruct();
+}
+#endif /* constant(Mysql.mysql) */