Commit 64061eea authored by jan@hundin.mysql.fi's avatar jan@hundin.mysql.fi

Show table status now shows creation time of the table for InnoDB. Note that

this timestamp might not be the correct time because e.g. ALTER TABLE
changes this timestamp.
parent 65a9dd2d
...@@ -4390,10 +4390,11 @@ ha_innobase::info( ...@@ -4390,10 +4390,11 @@ ha_innobase::info(
unpack_filename(path,path); unpack_filename(path,path);
} }
/* Note that we do not know the access time of the table,
nor the CHECK TABLE time, nor the UPDATE or INSERT time. */
if (os_file_get_status(path,&stat_info)) { if (os_file_get_status(path,&stat_info)) {
create_time = stat_info.ctime; create_time = stat_info.ctime;
check_time = stat_info.atime;
update_time = stat_info.mtime;
} }
} }
......
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