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

version» Context lines:

pike.git/lib/modules/Sql.pmod/sybase.pike:1:   /*    * Sybase driver for the Pike programming language.    * By Francesco Chemolli <kinkie@roxen.com> 10/12/1999    * -  * $Id: sybase.pike,v 1.7 2002/11/27 15:40:34 mast Exp $ +  * $Id: sybase.pike,v 1.8 2008/01/09 14:26:07 mast Exp $    *    */      #pike __REAL_VERSION__      #if constant(sybase.sybase)      inherit sybase.sybase:mo;   #define THROW(X) throw(({X+"\n",backtrace()}))   
pike.git/lib/modules/Sql.pmod/sybase.pike:84:    if (skipthismany<0)    THROW("Negative skips are not supported");    if (!skipthismany)    return;    while (skipthismany && fetch_row()){    skipthismany--;    }   }      void create(void|string host, void|string db, void|string user, -  void|string pass) { +  void|string _pass) { +  string pass = _pass; +  _pass = "CENSORED";    mo::create(host||"",db||"",user||"",pass||"");    if (db && stringp(db) && sizeof(db)) {    mo::big_query("use "+db);    }   }      int|object big_query(string q, mapping(string|int:mixed)|void bindings) {    if (!bindings)    return ::big_query(q);    return ::big_query(.sql_util.emulate_bindings(q,bindings,this_object()));   }      #endif