diff --git a/lib/modules/Sql.pmod/msql.pike b/lib/modules/Sql.pmod/msql.pike index d9f3c7a61bd8f9f10c726b46958c30df11412e5f..86c3fa5575a274d645ae29d9db65afb77de9fc5a 100644 --- a/lib/modules/Sql.pmod/msql.pike +++ b/lib/modules/Sql.pmod/msql.pike @@ -13,8 +13,5 @@ mapping(string:mapping(string:mixed)) list_fields(string table, string|void wild {return m[s];},result)); } #else /* !constant(Msql.msql) */ -void create() -{ - destruct(); -} +#error "mSQL support not available.\n" #endif /* constant(Msql.msql) */ diff --git a/lib/modules/Sql.pmod/mysql.pike b/lib/modules/Sql.pmod/mysql.pike index c6d866e7d7ea009ea186d487a270f7074845f175..68cb19cdf66876903cd04daef371b268334251dd 100644 --- a/lib/modules/Sql.pmod/mysql.pike +++ b/lib/modules/Sql.pmod/mysql.pike @@ -1,12 +1,12 @@ /* - * $Id: mysql.pike,v 1.6 1998/10/17 03:05:49 grubba Exp $ + * $Id: mysql.pike,v 1.7 1999/06/14 23:08:37 grubba Exp $ * * Glue for the Mysql-module */ //. //. File: mysql.pike -//. RCSID: $Id: mysql.pike,v 1.6 1998/10/17 03:05:49 grubba Exp $ +//. RCSID: $Id: mysql.pike,v 1.7 1999/06/14 23:08:37 grubba Exp $ //. Author: Henrik Grubbstr�m (grubba@idonex.se) //. //. Synopsis: Implements the glue to the Mysql-module. @@ -129,8 +129,5 @@ int decode_datetime (string timestr) } #else /* !constant(Mysql.mysql) */ -void create() -{ - destruct(); -} +#error "Mysql support not available.\n" #endif /* constant(Mysql.mysql) */ diff --git a/lib/modules/Sql.pmod/odbc.pike b/lib/modules/Sql.pmod/odbc.pike index 309c8c5199b5e219406ad61853efdb1d0e97918e..90666d905a94615f41004eb142308d8977e7b42d 100644 --- a/lib/modules/Sql.pmod/odbc.pike +++ b/lib/modules/Sql.pmod/odbc.pike @@ -1,5 +1,5 @@ /* - * $Id: odbc.pike,v 1.2 1998/10/17 03:00:34 grubba Exp $ + * $Id: odbc.pike,v 1.3 1999/06/14 23:08:38 grubba Exp $ * * Glue for the ODBC-module */ @@ -7,8 +7,5 @@ #if constant(Odbc.odbc) inherit Odbc.odbc; #else /* !constant(Odbc.odbc) */ -void create() -{ - destruct(); -} +#error "ODBC support not available.\n" #endif /* constant(Odbc.odbc) */ diff --git a/lib/modules/Sql.pmod/oracle.pike b/lib/modules/Sql.pmod/oracle.pike index cad80da162eb8a8448030ade7c666db859f765b9..fe3913720be2f23f728839332f5a35f5e5bb106d 100644 --- a/lib/modules/Sql.pmod/oracle.pike +++ b/lib/modules/Sql.pmod/oracle.pike @@ -1,5 +1,5 @@ /* - * $Id: oracle.pike,v 1.2 1998/10/17 02:59:23 grubba Exp $ + * $Id: oracle.pike,v 1.3 1999/06/14 23:08:39 grubba Exp $ * * Glue for the Oracle-module */ @@ -7,8 +7,5 @@ #if constant(Oracle.oracle) inherit Oracle.oracle; #else /* !constant(Oracle.oracle) */ -void create() -{ - destruct(); -} +#error "Oracle support not available.\n" #endif /* constant(Oracle.oracle) */ diff --git a/lib/modules/Sql.pmod/postgres.pike b/lib/modules/Sql.pmod/postgres.pike index fa8ddd8e223c110f8436f061d541dba331436a7b..73b28abd3a4efbdefc77f7416571108bc156db37 100644 --- a/lib/modules/Sql.pmod/postgres.pike +++ b/lib/modules/Sql.pmod/postgres.pike @@ -2,7 +2,7 @@ * This is part of the Postgres module for Pike. * (C) 1997 Francesco Chemolli <kinkie@kame.usr.dsi.unimi.it> * - * $Id: postgres.pike,v 1.5 1998/10/17 02:54:58 grubba Exp $ + * $Id: postgres.pike,v 1.6 1999/06/14 23:08:40 grubba Exp $ * */ @@ -125,8 +125,5 @@ mapping(string:array(mixed)) list_fields (string table, void|string wild) { return ret; } #else /* !constant(Postgres.postgres) */ -void create() -{ - destruct(); -} +#error "Prostgras support not available.\n" #endif /* constant(Postgres.postgres) */