[Groonga-commit] pgroonga/pgroonga at 5ecd047 [master] Use RelationIdValid()

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jan 28 16:02:52 JST 2016


Kouhei Sutou	2016-01-28 16:02:52 +0900 (Thu, 28 Jan 2016)

  New Revision: 5ecd0474495e45a80bbb029d105da9c3f9d523f8
  https://github.com/pgroonga/pgroonga/commit/5ecd0474495e45a80bbb029d105da9c3f9d523f8

  Message:
    Use RelationIdValid()

  Modified files:
    src/pgroonga.c

  Modified: src/pgroonga.c (+1 -1)
===================================================================
--- src/pgroonga.c    2016-01-28 16:02:05 +0900 (2db23d0)
+++ src/pgroonga.c    2016-01-28 16:02:52 +0900 (9c81eba)
@@ -3106,7 +3106,7 @@ PGrnRemoveUnusedTables(void)
 		if (nameEnd[0] == '.')
 			continue;
 		relation = RelationIdGetRelation(relationID);
-		if (relation)
+		if (RelationIsValid(relation))
 		{
 			RelationClose(relation);
 			continue;
-------------- next part --------------
HTML����������������������������...
Download 



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