pike.git
/
lib
/
modules
/
Sql.pmod
/
mysql.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/mysql.pike:1:
/*
-
* $Id: mysql.pike,v 1.
2
1998/03/19 19:
50
:
05
grubba Exp $
+
* $Id: mysql.pike,v 1.
3
1998/03/19 19:
55
:
47
grubba Exp $
* * Glue for the Mysql-module */ inherit Mysql.mysql;
-
string
sqlquote
(string s)
+
string
quote
(string s)
{ return(replace(s, ({ "\\", "\"", "\0", "\'", "\n", "\r" }), ({ "\\\\", "\\\"", "\\0", "\\\'", "\\n", "\\r" }))); }