| 35 | } |
| 36 | |
| 37 | type enumMutator struct { |
| 38 | sync.RWMutex |
| 39 | |
| 40 | schemaMutator common.TableSchemaMutator |
| 41 | // namesapce to columnID to enum cases set |
| 42 | // key {namespace}/{table}/{incarnation}/{columnID} |
| 43 | enumCacheMap map[string]enumCache |
| 44 | txnStore kv.TxnStore |
| 45 | } |
| 46 | |
| 47 | // NewEnumMutator creates EnumMutator |
| 48 | func NewEnumMutator(store kv.TxnStore, schemaMutator common.TableSchemaMutator) common.EnumMutator { |
nothing calls this directly
no outgoing calls
no test coverage detected