Skip to content

Maintain UPDATE_TIME in information_schema.tables #5551

@zhengwanbo

Description

@zhengwanbo

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

after crate a table, you can not get the CREATE_TIME and UPDATE_TIME from information_schema.tables.

  1. What did you expect to see?

when you create table, tidb records the table create_time and update_time.

  1. What did you see instead?

  2. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
    mysql> select tidb_version();
    +-------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | tidb_version() |
    +-------------------------------------------------------------------------------------------------------------------------------------------------------------+
    | Release Version: v1.1.0-alpha-363-gb10a65d
    Git Commit Hash: b10a65d
    Git Branch: master
    UTC Build Time: 2018-01-02 02:31:10 |
    +-------------------------------------------------------------------------------------------------------------------------------------------------------------+
    1 row in set (0.01 sec)

Metadata

Metadata

Assignees

Labels

affects-6.5This bug affects the 6.5.x(LTS) versions.feature/acceptedThis feature request is accepted by product managerspriority/P2The issue has P2 priority.sig/sql-infraSIG: SQL Infratype/feature-requestCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions