Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0

into  127.(none):/home/osku/mysql/5.0/clean
This commit is contained in:
unknown 2005-09-26 13:25:53 +03:00
commit 6f126ba4d0

View file

@ -591,15 +591,17 @@ row_ins_set_detailed(
FILE* tf = os_file_create_tmpfile();
ut_a(tf);
ut_print_name(tf, trx, foreign->foreign_table_name);
dict_print_info_on_foreign_key_in_create_format(tf, trx,
foreign, FALSE);
if (tf) {
ut_print_name(tf, trx, foreign->foreign_table_name);
dict_print_info_on_foreign_key_in_create_format(tf, trx,
foreign, FALSE);
trx_set_detailed_error_from_file(trx, tf);
trx_set_detailed_error_from_file(trx, tf);
fclose(tf);
fclose(tf);
} else {
trx_set_detailed_error(trx, "temp file creation failed");
}
}
/*************************************************************************