Fix clone callback

This commit is contained in:
Jinzhu 2015-02-26 14:47:56 +08:00
parent ce72988e96
commit b5edc9137c
1 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,13 @@ func (c *callback) addProcessor(typ string) *callbackProcessor {
}
func (c *callback) clone() *callback {
return &callback{processors: c.processors}
return &callback{
creates: c.creates,
updates: c.updates,
deletes: c.deletes,
queries: c.queries,
processors: c.processors,
}
}
func (c *callback) Create() *callbackProcessor {