Open espresso98 opened 2 years ago
According to https://github.com/pingcap/tidb/pull/32879#issuecomment-1060834577, we won't fix this issue, right? @Defined2014
According to #32879 (comment), we won't fix this issue, right? @Defined2014
@morgo , What's your opinion about this issue? Document the incompatibility or disallow NULL
for all sysvars, which one are you prefer?
According to #32879 (comment), we won't fix this issue, right? @Defined2014
@morgo , What's your opinion about this issue? Document the incompatibility or disallow
NULL
for all sysvar, which one are you prefer?
I prefer disallowing NULL
. For 2 reasons:
But both behaviors are acceptable to me.
Seems Null
is useful for some sysvar, like #32987. We have two options,
sql_mode
and other sysvars.NotNull
flag for sysvars. ( If we decided to do this, a lot of API changes will be required.
Bug Report
1. Minimal reproduce step
2. What did you expect to see?
3. What did you see instead
4. What is your TiDB version?