This commit is contained in:
Tobie Morgan Hitchcock 2016-11-23 15:41:21 +00:00
parent 2fcc2e3668
commit bf60887dc0

View file

@ -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