mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
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.
This commit is contained in:
parent
65a9dd2dca
commit
64061eea5a
1 changed files with 3 additions and 2 deletions
|
@ -4390,10 +4390,11 @@ ha_innobase::info(
|
|||
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)) {
|
||||
create_time = stat_info.ctime;
|
||||
check_time = stat_info.atime;
|
||||
update_time = stat_info.mtime;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue