[Groonga-commit] groonga/grngo at dac5411 [master] Fix a bug that a cache map is not cleared.

Back to archive index

susumu.yata null+****@clear*****
Wed Jul 8 20:45:32 JST 2015


susumu.yata	2015-07-08 20:45:32 +0900 (Wed, 08 Jul 2015)

  New Revision: dac54113eaa984532ef86987934ed2e7277f413d
  https://github.com/groonga/grngo/commit/dac54113eaa984532ef86987934ed2e7277f413d

  Message:
    Fix a bug that a cache map is not cleared.
    
    GitHub: #10

  Modified files:
    grngo.go

  Modified: grngo.go (+1 -0)
===================================================================
--- grngo.go    2015-07-02 17:07:11 +0900 (3ba9cfd)
+++ grngo.go    2015-07-08 20:45:32 +0900 (d5e24d2)
@@ -344,6 +344,7 @@ func (db *DB) Refresh() error {
 		}
 		C.grn_obj_unlink(db.ctx, table.obj)
 	}
+	db.tables = make(map[string]*Table)
 	return nil
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



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