[Groonga-commit] pgroonga/pgroonga at b10a726 [master] Remove duplicated "table"

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Aug 27 21:32:41 JST 2016


Kouhei Sutou	2016-08-27 21:32:41 +0900 (Sat, 27 Aug 2016)

  New Revision: b10a726dfd97206ee3cd0f158751582eb590256f
  https://github.com/pgroonga/pgroonga/commit/b10a726dfd97206ee3cd0f158751582eb590256f

  Message:
    Remove duplicated "table"
    
    "lexicon" includes "table".

  Modified files:
    src/pgrn_jsonb.c

  Modified: src/pgrn_jsonb.c (+6 -6)
===================================================================
--- src/pgrn_jsonb.c    2016-08-27 21:17:10 +0900 (53495a1)
+++ src/pgrn_jsonb.c    2016-08-27 21:32:41 +0900 (9859193)
@@ -1325,7 +1325,7 @@ PGrnJSONBBulkDeleteFin(PGrnJSONBBulkDeleteData *data)
 
 #ifdef JSONBOID
 static bool
-PGrnRemoveJSONValueLexiconTable(const char *typeName, unsigned int relationID)
+PGrnRemoveJSONValueLexicon(const char *typeName, unsigned int relationID)
 {
 	char tableName[GRN_TABLE_MAX_KEY_SIZE];
 	snprintf(tableName, sizeof(tableName),
@@ -1339,11 +1339,11 @@ void
 PGrnJSONBRemoveUnusedTables(Oid relationFileNodeID)
 {
 #ifdef JSONBOID
-		PGrnRemoveJSONValueLexiconTable("FullTextSearch", relationFileNodeID);
-		PGrnRemoveJSONValueLexiconTable("String", relationFileNodeID);
-		PGrnRemoveJSONValueLexiconTable("Number", relationFileNodeID);
-		PGrnRemoveJSONValueLexiconTable("Boolean", relationFileNodeID);
-		PGrnRemoveJSONValueLexiconTable("Size", relationFileNodeID);
+		PGrnRemoveJSONValueLexicon("FullTextSearch", relationFileNodeID);
+		PGrnRemoveJSONValueLexicon("String", relationFileNodeID);
+		PGrnRemoveJSONValueLexicon("Number", relationFileNodeID);
+		PGrnRemoveJSONValueLexicon("Boolean", relationFileNodeID);
+		PGrnRemoveJSONValueLexicon("Size", relationFileNodeID);
 
 		{
 			char name[GRN_TABLE_MAX_KEY_SIZE];
-------------- next part --------------
HTML����������������������������...
下載 



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