- Notifications
You must be signed in to change notification settings - Fork6.1k
Closed
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
testkit.go:157: Error Trace:pkg/testkit/testkit.go:157 pkg/testkit/testkit.go:150 pkg/ddl/schema_test.go:398 Error: Received unexpected error: [schema:1146]Table 'renametableautoids2.t2' doesn't exist github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/planner/core.Preprocess pkg/planner/core/preprocess.go:141 github.com/pingcap/tidb/pkg/executor.(*Compiler).Compile pkg/executor/compiler.go:67 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2094 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:383 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:155 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:150 github.com/pingcap/tidb/pkg/ddl_test.TestRenameTableAutoIDs pkg/ddl/schema_test.go:398 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650 Test: TestRenameTableAutoIDs Messages: sql:insert into RenameTableAutoIDs2.t2 values (50, 5), [], error stack [schema:1146]Table 'renametableautoids2.t2' doesn't exist github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/planner/core.Preprocess pkg/planner/core/preprocess.go:141 github.com/pingcap/tidb/pkg/executor.(*Compiler).Compile pkg/executor/compiler.go:67 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2094 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:383 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:155 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:150 github.com/pingcap/tidb/pkg/ddl_test.TestRenameTableAutoIDs pkg/ddl/schema_test.go:398 testing.tRunner GOROOT/src/testing/testing.go:1595 runtime.goexit src/runtime/asm_amd64.s:1650