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.6 1998/10/17 03:05:49 grubba Exp $ +  * $Id: mysql.pike,v 1.7 1999/06/14 23:08:37 grubba Exp $    *    * Glue for the Mysql-module    */      //.   //. File: mysql.pike - //. RCSID: $Id: mysql.pike,v 1.6 1998/10/17 03:05:49 grubba Exp $ + //. RCSID: $Id: mysql.pike,v 1.7 1999/06/14 23:08:37 grubba 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:122: Inside #if constant(Mysql.mysql)
   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);    }   }      #else /* !constant(Mysql.mysql) */ - void create() - { -  destruct(); - } + #error "Mysql support not available.\n"   #endif /* constant(Mysql.mysql) */