bug fixed

This commit is contained in:
Lunny Xiao 2014-05-09 09:43:35 +08:00
parent aed19a5f81
commit adc62c0bd4
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ func (db *Base) IsColumnExist(tableName string, col *Column) (bool, error) {
if rows.Next() { if rows.Next() {
return true, nil return true, nil
} }
return false, ErrNotExist return false, nil
} }
func (db *Base) CreateIndexSql(tableName string, index *Index) string { func (db *Base) CreateIndexSql(tableName string, index *Index) string {