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.7 1999/06/14 23:08:37 grubba Exp $ +  * $Id: mysql.pike,v 1.8 2000/04/29 00:10:21 kinkie Exp $    *    * Glue for the Mysql-module    */      //.   //. File: mysql.pike - //. RCSID: $Id: mysql.pike,v 1.7 1999/06/14 23:08:37 grubba Exp $ + //. RCSID: $Id: mysql.pike,v 1.8 2000/04/29 00:10:21 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:121: Inside #if constant(Mysql.mysql)
   return decode_date (a[0]) + decode_time (a[1]);    else {    int n = sizeof (timestr);    if (n >= 12)    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)); + } +    #else /* !constant(Mysql.mysql) */   #error "Mysql support not available.\n"   #endif /* constant(Mysql.mysql) */