f6bbe21997-03-06Henrik Grubbström (Grubba) /*
6279f61998-03-19Henrik Grubbström (Grubba)  * $Id: mysql.pike,v 1.3 1998/03/19 19:55:47 grubba Exp $
f6bbe21997-03-06Henrik Grubbström (Grubba)  * * Glue for the Mysql-module */ inherit Mysql.mysql;
2f9cc31998-03-19Henrik Grubbström (Grubba) 
6279f61998-03-19Henrik Grubbström (Grubba) string quote(string s)
2f9cc31998-03-19Henrik Grubbström (Grubba) { return(replace(s, ({ "\\", "\"", "\0", "\'", "\n", "\r" }), ({ "\\\\", "\\\"", "\\0", "\\\'", "\\n", "\\r" }))); }