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

version» Context lines:

pike.git/lib/modules/Sql.pmod/mysqls.pike:1:   /* -  * $Id: mysqls.pike,v 1.1 2003/04/26 17:01:07 agehall Exp $ +  * $Id: mysqls.pike,v 1.2 2003/04/26 17:44:45 agehall Exp $    *    * Glue for the Mysql-module using SSL    */      //! Implements the glue needed to access MySQL databases using SSL from the generic   //! SQL module.      #pike __REAL_VERSION__      #if constant(Mysql.mysql) && constant(Mysql.mysql.CLIENT_SSL)
pike.git/lib/modules/Sql.pmod/mysqls.pike:22: Inside #if constant(Mysql.mysql) && constant(Mysql.mysql.CLIENT_SSL)
   mapping opts = ([ ]);    if (mappingp(options))    opts = options;       if (!(opts->connect_options & Mysql.mysql.CLIENT_SSL))    opts->connect_options += Mysql.mysql.CLIENT_SSL;       if (!opts->mysql_config_file)    opts->mysql_config_file = "/etc/my.cnf";    -  werror("Calling ::create('%s','%s','%s',PASSWORD,%O);", -  host, db, user, opts); -  +     ::create(host||"", db||"", user||"", password||"", opts);   }   #endif