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    *    */      #pike __REAL_VERSION__ + #require constant(sybase.sybase)    - // Cannot dump this since the #if constant(...) check below may depend - // on the presence of system libs at runtime. + // Cannot dump this since the #require check may depend on the + // presence of system libs at runtime.   constant dont_dump_program = 1;    - #if constant(sybase.sybase) -  +    inherit sybase.sybase:mo;   #define THROW(X) throw(({X+"\n",backtrace()}))         /*    * Deprecated. Use connect(host,db,user,pass) instead.    */   void select_db(string db)   {    mo::big_query("use "+db);
pike.git/lib/modules/Sql.pmod/sybase.pike:100:    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));   } -  - #else - constant this_program_does_not_exist=1; - #endif +