@@ -8253,16 +8253,6 @@ int del_global_index_stat(THD *thd, TABLE* table, KEY* key_info)
82538253 VERSIONING functions
82548254******************************************************************************/
82558255
8256- bool Vers_parse_info::is_start (const char *name) const
8257- {
8258- DBUG_ASSERT (name);
8259- return as_row.start && as_row.start .streq (name);
8260- }
8261- bool Vers_parse_info::is_end (const char *name) const
8262- {
8263- DBUG_ASSERT (name);
8264- return as_row.end && as_row.end .streq (name);
8265- }
82668256bool Vers_parse_info::is_start (const Create_field &f) const
82678257{
82688258 return f.flags & VERS_ROW_START;
@@ -8317,8 +8307,8 @@ bool Vers_parse_info::create_sys_field(THD *thd, const char *field_name,
83178307 return false ;
83188308}
83198309
8320- const Lex_ident Vers_parse_info::default_start= " row_start" ;
8321- const Lex_ident Vers_parse_info::default_end= " row_end" ;
8310+ const Lex_ident Vers_parse_info::default_start= { STRING_WITH_LEN ( " row_start" )} ;
8311+ const Lex_ident Vers_parse_info::default_end= { STRING_WITH_LEN ( " row_end" )} ;
83228312
83238313bool Vers_parse_info::fix_implicit (THD *thd, Alter_info *alter_info)
83248314{
@@ -8577,7 +8567,7 @@ bool Vers_parse_info::fix_alter_info(THD *thd, Alter_info *alter_info,
85778567
85788568 if (alter_info->flags & ALTER_ADD_SYSTEM_VERSIONING)
85798569 {
8580- if (check_sys_fields (table_name, share->db , alter_info))
8570+ if (check_sys_fields (share-> table_name , share->db , alter_info))
85818571 return true ;
85828572 }
85838573
@@ -8883,8 +8873,8 @@ bool Table_scope_and_contents_source_st::check_period_fields(
88838873 }
88848874 }
88858875
8886- bool res= period_info.check_field (row_start, period.start . str )
8887- || period_info.check_field (row_end, period.end . str );
8876+ bool res= period_info.check_field (row_start, period.start )
8877+ || period_info.check_field (row_end, period.end );
88888878 if (res)
88898879 return true ;
88908880
0 commit comments