Fix typo
This commit is contained in:
parent
2fcc2e3668
commit
bf60887dc0
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func (this *TB) GetIX(name string) *IX {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *TB) AdIX(ast *sql.DefineIndexStatement) {
|
func (this *TB) AddIX(ast *sql.DefineIndexStatement) {
|
||||||
if ix, ok := this.IX[ast.Name]; ok {
|
if ix, ok := this.IX[ast.Name]; ok {
|
||||||
ix.Name = ast.Name
|
ix.Name = ast.Name
|
||||||
ix.Cols = ast.Cols
|
ix.Cols = ast.Cols
|
||||||
|
|
Loading…
Reference in a new issue