diff --git a/mem/tb.go b/mem/tb.go index 1e821cc8..c9b48c9e 100644 --- a/mem/tb.go +++ b/mem/tb.go @@ -66,7 +66,7 @@ func (this *TB) GetIX(name string) *IX { return nil } -func (this *TB) AdIX(ast *sql.DefineIndexStatement) { +func (this *TB) AddIX(ast *sql.DefineIndexStatement) { if ix, ok := this.IX[ast.Name]; ok { ix.Name = ast.Name ix.Cols = ast.Cols