pike.git/
lib/
modules/
Sql.pmod/
mysql.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1998-03-19
1998-03-19 19:55:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>
6279f645835a1ec6bc93eb57e1f7c8ad3838bc63 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
sqlquote() renamed to quote().
Rev: lib/modules/Sql.pmod/mysql.pike:1.3
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" }))); }