Commit 3b4e69ea authored by Timothy Smith's avatar Timothy Smith

Apply InnoDB snapshot innodb-5.1-ss2858, part 5.

A follow-up to the previous patch, fix for Bug #39438.

r2720 | vasil | 2008-10-03 19:52:39 +0300 (Fri, 03 Oct 2008) | 8 lines
branches/5.1:

Print a warning if an attempt is made to get the free space for a table
whose .ibd file is missing or the tablespace has been discarded. This is a
followup to r2719.

Suggested by:	Inaam
parent b3d77069
......@@ -5879,6 +5879,12 @@ ha_innobase::info(
ib_table->space) * 1024;
} else {
sql_print_warning(
"Trying to get the free space for "
"table %s but its tablespace has "
"been discarded or the .ibd file "
"is missing. Setting the free space "
"to zero.", ib_table->name);
stats.delete_length = 0;
}
......
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