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

version» Context lines:

pike.git/lib/modules/Sql.pmod/mysql.pike:1:   /* -  * $Id: mysql.pike,v 1.9 2000/04/29 00:38:18 kinkie Exp $ +  * $Id: mysql.pike,v 1.10 2000/04/30 16:29:53 kinkie Exp $    *    * Glue for the Mysql-module    */      //.   //. File: mysql.pike - //. RCSID: $Id: mysql.pike,v 1.9 2000/04/29 00:38:18 kinkie Exp $ + //. RCSID: $Id: mysql.pike,v 1.10 2000/04/30 16:29:53 kinkie Exp $   //. Author: Henrik Grubbström (grubba@idonex.se)   //.   //. Synopsis: Implements the glue to the Mysql-module.   //.   //. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   //.   //. Implements the glue needed to access the Mysql-module from the generic   //. SQL module.   //.   
pike.git/lib/modules/Sql.pmod/mysql.pike:125: Inside #if constant(Mysql.mysql)
   return decode_date (timestr[..n-7]) + decode_time (timestr[n-6..n-1]);    else    return decode_date (timestr);    }   }      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()); +  return ::big_query(.sql_util.emulate_bindings(q,bindings,this_object()));   }      #else /* !constant(Mysql.mysql) */   #error "Mysql support not available.\n"   #endif /* constant(Mysql.mysql) */