[Groonga-commit] pgroonga/pgroonga at 9cb3dfd [master] jsonb: full text search is optional

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 7 22:57:38 JST 2016


Kouhei Sutou	2016-11-07 22:57:38 +0900 (Mon, 07 Nov 2016)

  New Revision: 9cb3dfd7f9c26ee92a87f88f19ae526785172788
  https://github.com/pgroonga/pgroonga/commit/9cb3dfd7f9c26ee92a87f88f19ae526785172788

  Message:
    jsonb: full text search is optional

  Modified files:
    src/pgrn_jsonb.c

  Modified: src/pgrn_jsonb.c (+2 -0)
===================================================================
--- src/pgrn_jsonb.c    2016-11-07 22:45:34 +0900 (22c0c15)
+++ src/pgrn_jsonb.c    2016-11-07 22:57:38 +0900 (c72e9af)
@@ -1590,6 +1590,8 @@ PGrnRemoveJSONValueLexicon(const char *typeName, unsigned int relationID)
 	snprintf(tableName, sizeof(tableName),
 			 PGrnJSONValueLexiconNameFormat,
 			 typeName, relationID, 0);
+	if (!grn_ctx_get(ctx, tableName, -1))
+		return;
 	PGrnRemoveObject(tableName);
 }
 #endif
-------------- next part --------------
HTML����������������������������...
下載 



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