Skip to content

Commit

Permalink
create ROW_START/ROW_END columns NOT NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Feb 23, 2018
1 parent c4c81a5 commit 4ff0894
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion sql/handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6869,7 +6869,7 @@ static Create_field *vers_init_sys_field(THD *thd, const char *field_name, int f
f->field_name.str= field_name;
f->field_name.length= strlen(field_name);
f->charset= system_charset_info;
f->flags= flags;
f->flags= flags | NOT_NULL_FLAG;
if (integer)
{
f->set_handler(&type_handler_longlong);
Expand Down
1 change: 0 additions & 1 deletion sql/sql_partition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3464,7 +3464,6 @@ int vers_get_partition_id(partition_info *part_info,
DBUG_ASSERT(table->versioned());
DBUG_ASSERT(table->vers_end_field() == row_end);

// new rows have NULL in row_end
if (row_end->is_max() || row_end->is_null())
{
*part_id= vers_info->now_part->id;
Expand Down

0 comments on commit 4ff0894

Please sign in to comment.