[Groonga-commit] groonga/groonga at 03c78ac [master] Expand abbreviation

Back to archive index

Kouhei Sutou null+****@clear*****
Wed May 11 11:00:47 JST 2016


Kouhei Sutou	2016-05-11 11:00:47 +0900 (Wed, 11 May 2016)

  New Revision: 03c78ac8dc7a5433518a5c94a67489f8b99ab5c7
  https://github.com/groonga/groonga/commit/03c78ac8dc7a5433518a5c94a67489f8b99ab5c7

  Message:
    Expand abbreviation

  Modified files:
    lib/db.c
    lib/grn_io.h

  Modified: lib/db.c (+2 -2)
===================================================================
--- lib/db.c    2016-05-11 10:56:13 +0900 (f97a676)
+++ lib/db.c    2016-05-11 11:00:47 +0900 (2a1070b)
@@ -650,7 +650,7 @@ grn_obj_io(grn_obj *obj)
 uint32_t
 grn_db_get_last_modified(grn_ctx *ctx, grn_obj *db)
 {
-  return grn_obj_io(db)->header->lastmod;
+  return grn_obj_io(db)->header->last_modified;
 }
 
 void
@@ -666,7 +666,7 @@ grn_obj_touch_db(grn_ctx *ctx, grn_obj *obj, grn_timeval *tv)
 {
   grn_db *db = (grn_db *)obj;
 
-  grn_obj_io(obj)->header->lastmod = tv->tv_sec;
+  grn_obj_io(obj)->header->last_modified = tv->tv_sec;
 
   switch (db->keys->header.type) {
   case GRN_TABLE_PAT_KEY :

  Modified: lib/grn_io.h (+1 -1)
===================================================================
--- lib/grn_io.h    2016-05-11 10:56:13 +0900 (5e7834b)
+++ lib/grn_io.h    2016-05-11 11:00:47 +0900 (4bb02d4)
@@ -89,7 +89,7 @@ struct _grn_io_header {
   uint32_t lock;
   uint64_t curr_size;
   uint32_t segment_tail;
-  uint32_t lastmod;
+  uint32_t last_modified;
 };
 
 struct _grn_io {
-------------- next part --------------
HTML����������������������������...
Download 



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