Skip to content

Commit

Permalink
tiny fix (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanfei1991 authored and zanmato1984 committed Jul 22, 2019
1 parent 4f7c2d9 commit bc79718
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dbms/src/Storages/Transaction/TiDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ ColumnInfo::ColumnInfo(Poco::JSON::Object::Ptr json) { deserialize(json); }
Field ColumnInfo::defaultValueToField() const
{
auto & value = origin_default_value;
if (value.isEmpty()) {
return Field();
}
switch (tp)
{
// Integer Type.
Expand Down

0 comments on commit bc79718

Please sign in to comment.