Skip to content
Snippets Groups Projects
Commit 6279f645 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

sqlquote() renamed to quote().

Rev: lib/modules/Sql.pmod/mysql.pike:1.3
parent fd9819f6
No related branches found
No related tags found
No related merge requests found
/* /*
* $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 * Glue for the Mysql-module
*/ */
inherit Mysql.mysql; inherit Mysql.mysql;
string sqlquote(string s) string quote(string s)
{ {
return(replace(s, return(replace(s,
({ "\\", "\"", "\0", "\'", "\n", "\r" }), ({ "\\", "\"", "\0", "\'", "\n", "\r" }),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment