[Groonga-commit] pgroonga/pgroonga at 91cd531 [master] Add a missing test for pgroonga.command_escape_value()

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Nov 29 23:10:01 JST 2016


Kouhei Sutou	2016-11-29 23:10:01 +0900 (Tue, 29 Nov 2016)

  New Revision: 91cd531c88e66535e74179fe95d19984f77c08b5
  https://github.com/pgroonga/pgroonga/commit/91cd531c88e66535e74179fe95d19984f77c08b5

  Message:
    Add a missing test for pgroonga.command_escape_value()

  Added files:
    expected/function/command-escape-value/all.out
    sql/function/command-escape-value/all.sql

  Added: expected/function/command-escape-value/all.out (+6 -0) 100644
===================================================================
--- /dev/null
+++ expected/function/command-escape-value/all.out    2016-11-29 23:10:01 +0900 (3ec2df4)
@@ -0,0 +1,6 @@
+SELECT pgroonga.command_escape_value('a+B-c" \\あ\nいう');
+  command_escape_value   
+-------------------------
+ "a+B-c\" \\\\あ\\nいう"
+(1 row)
+

  Added: sql/function/command-escape-value/all.sql (+1 -0) 100644
===================================================================
--- /dev/null
+++ sql/function/command-escape-value/all.sql    2016-11-29 23:10:01 +0900 (010c786)
@@ -0,0 +1 @@
+SELECT pgroonga.command_escape_value('a+B-c" \\あ\nいう');
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index