func (ps *perfSchema) addInstrument(name string) (uint64, error) {
	record := types.MakeDatums(name, types.Enum{Name: "YES", Value: 1}, types.Enum{Name: "YES", Value: 1})
	tbl := ps.mTables[TableSetupInstruments]
	handle, err := tbl.AddRecord(nil, record)
	return uint64(handle), errors.Trace(err)
}
// addInstrument is used to add an item to setup_instruments table.
addInstrument is used to add an item to setup_instruments table.
// addInstrument is used to add an item to setup_instruments table .
func (ps *perfSchema) addInstrument(name string) (uint64, error) {
	record := types.MakeDatums(name, types.Enum{Name: "YES", Value: 1}, types.Enum{Name: "YES", Value: 1})
	tbl := ps.mTables[TableSetupInstruments]
	handle, err := tbl.AddRecord(nil, record)
	return uint64(handle), errors.Trace(err)
}
func ( ps * perfSchema ) addInstrument ( name string ) ( uint64 , error ) { record := types . MakeDatums ( name , types . Enum { Name : " " , Value : 1 } , types . Enum { Name : " " , Value : 1 } ) tbl := ps . mTables [ TableSetupInstruments ] handle , err := tbl . AddRecord ( nil , record ) return uint64 ( handle ) , errors . Trace ( err ) }
addInstrument is used to add an item to setup_instruments table.
addInstrument is used to add an item to setup_instruments table .