Skip to content

return wrong datetime(6) format string #149

Description

@hetao29
CREATE TABLE `test` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `update_time` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB;

the right str:
update_time: 2026-06-25 12:36:26.575914

return wrong str:
update_time: 2026-06-25 12:36:26575914

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions