Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: fix panic when table does not exist (#1888)
rebelice7de1d54c9fe0
diff --git a/store/catalog.go b/store/catalog.goindex 63a01b6618..22fb381ee7 100644--- a/store/catalog.go+++ b/store/catalog.go@@ -38,6 +38,9 @@ func (c *Catalog) FindIndex(ctx context.Context, find *catalog.IndexFind) (*cataif err != nil {return nil, err}+ if table == nil {+ return nil, nil+ }indexList, err := c.store.FindIndex(ctx, &api.IndexFind{DatabaseID: c.databaseID,