diff --git a/go/vt/vtgate/vindexes/vschema.go b/go/vt/vtgate/vindexes/vschema.go index 9758917975a..e36289132c5 100644 --- a/go/vt/vtgate/vindexes/vschema.go +++ b/go/vt/vtgate/vindexes/vschema.go @@ -478,7 +478,7 @@ func buildKeyspaceGlobalTables(vschema *VSchema, ksvschema *KeyspaceSchema, skip if gt, ok := vschema.globalTables[tname]; ok { // There is already an entry table stored in global tables // with this name. - if !skipIfAlreadyGlobal { + if skipIfAlreadyGlobal { // Called when updating from schema tracking continue }