[MDEV-8940] CREATE_TIME column of INFORMATION_SCHEMA.TABLES does not always update for innodb tables Created: 2015-10-14 Updated: 2021-04-28 Resolved: 2021-04-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows, Storage Engine - InnoDB |
| Affects Version/s: | 10.0.21, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Tuco | Assignee: | Vladislav Vaintroub |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows Server 2008 R2 |
||
| Attachments: |
|
| Description |
|
The CREATE_TIME column of INFORMATION_SCHEMA.TABLES does not always update for innodb tables when the table is dropped and recreated.
In this example the first drop and recreate worked, but the second did not. This might be related to this bug https://bugs.mysql.com/bug.php?id=69689 which is a duplicate of this bug https://bugs.mysql.com/bug.php?id=14374 |
| Comments |
| Comment by Elena Stepanova [ 2015-10-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Could you please attach your ini file(s), or paste the output of SHOW VARIABLES? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Tuco [ 2015-10-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
my.ini attached. The server is a standard install nothing has been changed. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2017-03-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This fixed in the latest 10.2 and 10.1 as of today (on linux at least). I haven't tested 10.0.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2021-04-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It appears to be a Windows-specific effect; still reproducible on current 10.x branches. So, in the MTR style, with this test case I can reproduce it if I run it with
But if --sleep N is moved above drop table t, it is reproducible regardless the option value, even if it more than a minute.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2021-04-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'm not sure what we can do here. I'd chalk this up , as Windows problem. I also do not think anyone should rely too much on these times. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2021-04-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Closing since "not our bug". | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Vladislav Vaintroub [ 2021-04-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
This is , mostly likely , and effect of something called tunnelling The 15 seconds, as found experimentally by elenst , correlates well with the MaximumTunnelEntryAgeInSeconds |