Branch: Tag:

2003-04-22

2003-04-22 18:02:53 by Martin Nilsson <mani@lysator.liu.se>

throw -> error

Rev: lib/modules/Sql.pmod/Sql.pike:1.65
Rev: lib/modules/Sql.pmod/rsql.pike:1.7
Rev: lib/modules/Sql.pmod/sql_util.pmod:1.11

1:   /* -  * $Id: sql_util.pmod,v 1.10 2001/12/04 14:42:42 nilsson Exp $ +  * $Id: sql_util.pmod,v 1.11 2003/04/22 18:02:53 nilsson Exp $    *    * Some SQL utility functions.    * They are kept here to avoid circular references.
23:   //! Throw an error in case an unimplemented function is called.   void fallback()   { -  throw(({ "Function not supported in this database.", backtrace() })); +  error( "Function not supported in this database." );   }      //! Build a raw SQL query, given the cooked query and the variable bindings