Skip to content

Commit 18104fa

Browse files
committed
Fix
Signed-off-by: JaySon-Huang <tshent@qq.com>
1 parent eb1624d commit 18104fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dbms/src/TiDB/Decode/RowCodec.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,9 @@ inline bool addDefaultValueToColumnIfPossible(
418418
{
419419
if (!force_decode)
420420
{
421-
// This is a Column that does not have encoded datum in the value,
422-
// but it is defined as NOT NULL and has no default value.
423-
// It could be a row encoded by newer schema after turning `NOT NULL` to `NULLABLE`. Return false to trigger schema sync when `force_decode==false`.
421+
// This is a Column that does not have encoded datum in the value, but it is defined as NOT NULL.
422+
// It could be a row encoded by newer schema after turning `NOT NULL` to `NULLABLE`.
423+
// Return false to trigger schema sync when `force_decode==false`.
424424
return false;
425425
}
426426
// Else the row does not contain this "not null" / "no default value" column,

0 commit comments

Comments
 (0)