From c96807f5f129ceb31e58111b139cba4064dd1035 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Sat, 11 Jan 2025 21:24:12 -0500 Subject: [PATCH] Fix unit test Signed-off-by: Matt Lord --- go/vt/vttablet/tabletmanager/vdiff/workflow_differ_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vttablet/tabletmanager/vdiff/workflow_differ_test.go b/go/vt/vttablet/tabletmanager/vdiff/workflow_differ_test.go index 547341e192e..5ac0fabd726 100644 --- a/go/vt/vttablet/tabletmanager/vdiff/workflow_differ_test.go +++ b/go/vt/vttablet/tabletmanager/vdiff/workflow_differ_test.go @@ -306,7 +306,7 @@ func TestBuildPlanSuccess(t *testing.T) { compareCols: []compareColInfo{{0, collations.MySQL8().LookupByName(sqltypes.NULL.String()), false, "c1"}, {1, collations.MySQL8().LookupByName(sqltypes.NULL.String()), false, "c2"}, {2, collations.MySQL8().LookupByName(sqltypes.NULL.String()), true, "c3"}}, comparePKs: []compareColInfo{{2, collations.MySQL8().LookupByName(sqltypes.NULL.String()), true, "c3"}}, pkCols: []int{2}, - sourcePkCols: []int{}, + sourcePkCols: []int{0}, selectPks: []int{2}, orderBy: sqlparser.OrderBy{ &sqlparser.Order{