Commit 9595cc33 authored by unknown's avatar unknown

InnoDB: Display an error message in /* */ comments

in SHOW CREATE TABLE if a temporary file cannot be created.
(Bug #13002)


sql/ha_innodb.cc:
  ha_innobase::get_foreign_key_create_info(): Display an error
  message to the user if a temporary file cannot be created.
parent f03bc6c5
......@@ -4458,8 +4458,8 @@ ha_innobase::get_foreign_key_create_info(void)
fclose(file);
} else {
/* unable to create temporary file */
str = my_malloc(1, MYF(0));
str[0] = 0;
str = my_strdup(
"/* Error: cannot display foreign key constraints */", MYF(0));
}
return(str);
......
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