Files
tidb/ddl
jiyfhust 295033f59b ddl: tiny refine the checkForNullValue function. (#11833)
change "select count(*) from `%s`.`%s` where `%s` is null limit 1"
to "select 1 from `%s`.`%s` where `%s` is null limit 1"

The later would return when the first row meets the condition, thus scanning the whole table is avoided
2019-08-23 17:06:18 +08:00
..