executor: Future proof TiDB specific comment (#26394)
This commit is contained in:
@ -1015,7 +1015,7 @@ func ConstructResultOfShowCreateTable(ctx sessionctx.Context, tableInfo *model.T
|
||||
}
|
||||
|
||||
if tableInfo.ShardRowIDBits > 0 {
|
||||
fmt.Fprintf(buf, "/*!90000 SHARD_ROW_ID_BITS=%d ", tableInfo.ShardRowIDBits)
|
||||
fmt.Fprintf(buf, " /*T! SHARD_ROW_ID_BITS=%d ", tableInfo.ShardRowIDBits)
|
||||
if tableInfo.PreSplitRegions > 0 {
|
||||
fmt.Fprintf(buf, "PRE_SPLIT_REGIONS=%d ", tableInfo.PreSplitRegions)
|
||||
}
|
||||
|
||||
@ -679,7 +679,7 @@ func (s *testSuite5) TestShowCreateTable(c *C) {
|
||||
"t CREATE TABLE `t` (\n"+
|
||||
" `a` int(11) DEFAULT NULL,\n"+
|
||||
" `b` int(11) DEFAULT NULL\n"+
|
||||
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin/*!90000 SHARD_ROW_ID_BITS=4 PRE_SPLIT_REGIONS=3 */",
|
||||
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin /*T! SHARD_ROW_ID_BITS=4 PRE_SPLIT_REGIONS=3 */",
|
||||
))
|
||||
tk.MustExec("drop table t")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user