Commit 2966cf74 authored by marko's avatar marko

branches/zip: row_ins_foreign_report_add_err(): Note that the dtuple_print()

call may display uninitialized values of DB_TRX_ID and DB_ROLL_PTR.
parent a8a47268
...@@ -698,6 +698,8 @@ row_ins_foreign_report_add_err( ...@@ -698,6 +698,8 @@ row_ins_foreign_report_add_err(
ut_print_name(ef, trx, FALSE, foreign->foreign_index->name); ut_print_name(ef, trx, FALSE, foreign->foreign_index->name);
if (entry) { if (entry) {
fputs(" tuple:\n", ef); fputs(" tuple:\n", ef);
/* TODO: DB_TRX_ID and DB_ROLL_PTR may be uninitialized.
It would be better to only display the user columns. */
dtuple_print(ef, entry); dtuple_print(ef, entry);
} }
fputs("\nBut in parent table ", ef); fputs("\nBut in parent table ", ef);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment