pike.git / lib / modules / Sql.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Sql.pmod/module.pmod:174:   //! Support for @[options] was added in Pike 7.3.   //!   //! @note   //! Use of an object @[host] was deprecated in Pike 8.1.   //!   //! @note   //! Prior to Pike 8.1 this was a wrapper class.   //!   //! @seealso   //! @[8.0::Sql.Sql], @[Connection] - Connection Sql(string host, + Connection Sql(string|zero host,    void|string|mapping(string:int|string) db,    void|string user, void|string _password,    void|mapping(string:int|string) options)   {    // Note: No need to censor host here, since it is rewritten below if    // it contains an SQL-URL.    string password = _password;    _password = "CENSORED";       Connection con;