[Groonga-commit] pgroonga/pgroonga at 9084aee [master] Fix a bug that pgroonga.escape(text) uses old data

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Nov 29 23:09:26 JST 2016


Kouhei Sutou	2016-11-29 23:09:26 +0900 (Tue, 29 Nov 2016)

  New Revision: 9084aee18e9624b5ad9a524e529d3db72cbc9a7e
  https://github.com/pgroonga/pgroonga/commit/9084aee18e9624b5ad9a524e529d3db72cbc9a7e

  Message:
    Fix a bug that pgroonga.escape(text) uses old data

  Modified files:
    src/pgrn_escape.c

  Modified: src/pgrn_escape.c (+1 -1)
===================================================================
--- src/pgrn_escape.c    2016-11-29 23:09:13 +0900 (10ec7ab)
+++ src/pgrn_escape.c    2016-11-29 23:09:26 +0900 (44247c2)
@@ -33,7 +33,7 @@ pgroonga_escape_string(PG_FUNCTION_ARGS)
 	escapedValueBuffer = &(buffers->escape.escapedValue);
 	specialCharactersBuffer = &(buffers->escape.specialCharacters);
 
-	GRN_BULK_REWIND(specialCharactersBuffer);
+	GRN_BULK_REWIND(escapedValueBuffer);
 	GRN_TEXT_PUTC(ctx, escapedValueBuffer, '"');
 	if (PG_NARGS() == 1)
 	{
-------------- next part --------------
HTML����������������������������...
Download 



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