Skip to content

Commit

Permalink
repaire bug
Browse files Browse the repository at this point in the history
Signed-off-by: qidi1 <1083369179@qq.com>
  • Loading branch information
qidi1 committed Jul 19, 2022
1 parent ba16a70 commit dce8c31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class LogicalPlanTestSuite extends BasePlanTest {
} else {
val config =
tidbStmt.executeQuery("show config where type='tidb' and name='alter-primary-key'")
if (!config.next() && config.getString(4).toLowerCase() == "true") {
if (!config.next() || config.getString(4).toLowerCase() == "true") {
cancel("TiDB config alter-primary-key must be false")
}
tidbStmt.execute("""
Expand Down

0 comments on commit dce8c31

Please sign in to comment.