Skip to content

Commit 694e3e5

Browse files
roylysengdahlerlend
authored andcommitted
Bug#32738972: Test innodb.upgrade_fts_aux fails on trunk
When attempting to report the name of a table causing an error during upgrade in function fix_generated_columns_for_upgrade(), a bad pointer is supplied in the call to LogErr(). Fixed by using the correct pointer. Notice that the test problem is not fixed by this. Reviewed by: Dmitry Lenev <Dmitry.Lenev@oracle.com> Change-Id: I06c053875fb73d7efb3675f6cc83a36feb177b71
1 parent 56e66fa commit 694e3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/dd/upgrade_57/table.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ static bool fix_generated_columns_for_upgrade(
12641264
error = true;
12651265
LogErr(ERROR_LEVEL,
12661266
ER_CANT_PROCESS_EXPRESSION_FOR_GENERATED_COLUMN_TO_DD,
1267-
to_string((*field_ptr)->gcol_info->expr_str).c_str(),
1267+
to_string(sql_field->gcol_info->expr_str).c_str(),
12681268
table->s->db.str, table->s->table_name.str,
12691269
(*field_ptr)->field_name);
12701270
break;

0 commit comments

Comments
 (0)