mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
Fix bug #24712: SHOW TABLE STATUS for file-per-table showing incorrect
time fields
This commit is contained in:
parent
b99a4edfa8
commit
0138132c05
1 changed files with 2 additions and 8 deletions
|
@ -5537,16 +5537,10 @@ ha_innobase::info(
|
|||
prebuilt->trx->op_info = (char*)
|
||||
"returning various info to MySQL";
|
||||
|
||||
if (ib_table->space != 0) {
|
||||
my_snprintf(path, sizeof(path), "%s/%s%s",
|
||||
mysql_data_home, ib_table->name, ".ibd");
|
||||
unpack_filename(path,path);
|
||||
} else {
|
||||
my_snprintf(path, sizeof(path), "%s/%s%s",
|
||||
my_snprintf(path, sizeof(path), "%s/%s%s",
|
||||
mysql_data_home, ib_table->name, reg_ext);
|
||||
|
||||
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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue