summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index da23ff918..18dcb1291 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -6399,10 +6399,10 @@ to query the server log tables.
---------------------------------------
-*escape_sql("<string>")
+*escape_sql(<value>)
-Escapes special characters in the string, so that it is safe to use in query_sql(),
-and returns the escaped form of the given string.
+Converts the value to a string and escapes special characters so that it is safe to use in query_sql().
+Returns the escaped form of the given value.
Example 1:
set .@str$, "John's Laptop";