diff --git a/lib/modules/Sql.pmod/Sql.pike b/lib/modules/Sql.pmod/Sql.pike index 1ec0b1d441655b884339e4324648842b86d80587..c52f73c4e78456e16af36374844c7f6e7e5538e9 100644 --- a/lib/modules/Sql.pmod/Sql.pike +++ b/lib/modules/Sql.pmod/Sql.pike @@ -1,5 +1,5 @@ /* - * $Id: Sql.pike,v 1.85 2005/11/26 03:14:06 nilsson Exp $ + * $Id: Sql.pike,v 1.86 2006/09/15 12:19:30 mast Exp $ * * Implements the generic parts of the SQL-interface * @@ -399,12 +399,8 @@ static array(string|mapping(string|int:mixed)) //! the variable is used. //! //! @code -//! mixed err = catch { -//! query("SELECT foo FROM bar WHERE gazonk=:baz", -//! ([":baz":"value"])); -//! }; -//! if(err) -//! werror("An error occured."); +//! res = query("SELECT foo FROM bar WHERE gazonk=:baz", +//! ([":baz":"value"])); //! @endcode //! //! Binary values (BLOBs) may need to be placed in multisets. @@ -414,7 +410,7 @@ static array(string|mapping(string|int:mixed)) //! quoted. //! //! @code -//! query("select foo from bar where gazonk=%s","value") ) +//! res = query("select foo from bar where gazonk=%s","value"); //! @endcode //! @endol //!