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    * (C) Roxen IS    * -  * $Id: sybase.pike,v 1.2 2000/04/29 00:11:09 kinkie Exp $ +  * $Id: sybase.pike,v 1.3 2000/04/29 00:38:18 kinkie Exp $    *    */      #if constant(sybase.sybase)      inherit sybase.sybase:mo;   #define THROW(X) throw(({X+"\n",backtrace()}))         /*
pike.git/lib/modules/Sql.pmod/sybase.pike:93:    void|string pass) {    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)); +  return ::big_query(.sql_util.emulate_bindings(q,bindings,this_object()));   }      #else   #error "Sybase driver not available.\n"   #endif