Branch: Tag:

1999-07-01

1999-07-01 20:25:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few bugs.

Rev: lib/modules/Sql.pmod/sql_util.pmod:1.2

1:   /* -  * $Id: sql_util.pmod,v 1.1 1999/07/01 20:13:41 grubba Exp $ +  * $Id: sql_util.pmod,v 1.2 1999/07/01 20:25:38 grubba Exp $    *    * Some SQL utility functions.    * They are kept here to avoid circular references.
9:      //.   //. File: sql_util.pmod - //. RCSID: $Id: sql_util.pmod,v 1.1 1999/07/01 20:13:41 grubba Exp $ + //. RCSID: $Id: sql_util.pmod,v 1.2 1999/07/01 20:25:38 grubba Exp $   //. Author: Henrik Grubbström (grubba@idonex.se)   //.   //. Synopsis: Some SQL utility functions
19:   //. These functions are kept here mainly to avoid circular references.   //.    - #define throw_error(X) throw(({ (X), backtrace() })) -  +    //. - quote   //. Quote a string so that it can safely be put in a query.   //. > s - String to quote.
31:      //. - fallback   //. Throw an error in case an unimplemented function is called. - void fallback(void) + void fallback()   { -  throw_error ("Function not supported in this database."); +  throw(({ "Function not supported in this database.", backtrace() }));   }