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.1 2000/03/26 20:49:06 kinkie Exp $ +  * $Id: sybase.pike,v 1.2 2000/04/29 00:11:09 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:90:   }      void create(void|string host, void|string db, void|string user,    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)); + } +    #else   #error "Sybase driver not available.\n"   #endif