Add index_name check for drop_index (#6217)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/6234/head
yukun 2021-06-30 17:56:12 +08:00 committed by GitHub
parent ff93d1611f
commit 95aa3c85b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -3372,6 +3372,10 @@ func (dit *DropIndexTask) PreExecute(ctx context.Context) error {
return err
}
if dit.IndexName == "" {
dit.IndexName = Params.DefaultIndexName
}
return nil
}