Commit 9595cc33 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);