Branch: Tag:

2008-07-30

2008-07-30 10:48:16 by Stephen R. van den Berg <srb@cuci.nl>

pgsql cleaned up _sprintf verbosity, amended CHANGES, use String.secure

Rev: CHANGES:1.123
Rev: lib/modules/Sql.pmod/pgsql.pike:1.16
Rev: lib/modules/Sql.pmod/pgsql_util.pmod:1.3
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.4

13:      protected void create(void|string _host, void|string _db,    void|string _user, void|string _pass, void|mapping(string:mixed) _options) { +  string pass; +  pass = _pass; _pass = "CENSORED"; String.secure(pass);    if(!_options)    _options = ([]);       _options->use_ssl=1;    -  ::create(_host, _db, _user, _pass, _options); +  ::create(_host, _db, _user, pass, _options);   }