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.1 1997/03/06 21:20:19 grubba Exp $ +  * $Id: mysql.pike,v 1.2 1998/03/19 19:50:05 grubba Exp $    *    * Glue for the Mysql-module    */      inherit Mysql.mysql; -  +  + string sqlquote(string s) + { +  return(replace(s, +  ({ "\\", "\"", "\0", "\'", "\n", "\r" }), +  ({ "\\\\", "\\\"", "\\0", "\\\'", "\\n", "\\r" }))); + }