Add index_name check for drop_index (#6217)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
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

View File

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