[Groonga-commit] pgroonga/pgroonga at 7017238 [master] Add missing touch

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 3 23:05:11 JST 2016


Kouhei Sutou	2016-11-03 23:05:11 +0900 (Thu, 03 Nov 2016)

  New Revision: 70172386684c5a6fd850a93a6ea944b335ac1134
  https://github.com/pgroonga/pgroonga/commit/70172386684c5a6fd850a93a6ea944b335ac1134

  Message:
    Add missing touch

  Modified files:
    src/pgrn_index_status.c

  Modified: src/pgrn_index_status.c (+2 -0)
===================================================================
--- src/pgrn_index_status.c    2016-11-03 23:04:40 +0900 (78d15ee)
+++ src/pgrn_index_status.c    2016-11-03 23:05:11 +0900 (01ce278)
@@ -111,6 +111,7 @@ PGrnIndexStatusSetMaxRecordSize(Relation index, uint32_t size)
 						ERROR);
 	GRN_UINT32_SET(ctx, maxRecordSize, size);
 	grn_obj_set_value(ctx, column, id, maxRecordSize, GRN_OBJ_SET);
+	grn_db_touch(ctx, grn_ctx_db(ctx));
 
 	PGrnWALInsertColumn(walData, column, maxRecordSize);
 	PGrnWALFinish(walData);
@@ -152,4 +153,5 @@ PGrnIndexStatusSetWALAppliedPosition(Relation index,
 	positionRaw = (((uint64_t)block) << 32) + (uint64_t)offset;
 	GRN_UINT64_SET(ctx, position, positionRaw);
 	grn_obj_set_value(ctx, column, id, position, GRN_OBJ_SET);
+	grn_db_touch(ctx, grn_ctx_db(ctx));
 }
-------------- next part --------------
HTML����������������������������...
Download 



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