Branch: Tag:

2012-04-12

2012-04-12 11:21:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql: Add support for the options mapping to all Sql-drivers.

93:   }      void create(void|string host, void|string db, void|string user, -  void|string _pass) { +  void|string _pass, void|mapping options) {    string pass = _pass;    _pass = "CENSORED"; -  mo::create(host||"",db||"",user||"",pass||""); +  mo::create(host||"",db||"",user||"",pass||"",options);    if (db && stringp(db) && sizeof(db)) {    mo::big_query("use "+db);    }