mirror of
https://github.com/MariaDB/server.git
synced 2026-05-13 18:40:48 +02:00
create ROW_START/ROW_END columns NOT NULL
This commit is contained in:
parent
c4c81a5b04
commit
4ff089489b
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue