From df1fb619ada3dac65a6c7d3ed715342e91b862ac Mon Sep 17 00:00:00 2001 From: John Guo Date: Fri, 13 Sep 2024 15:26:33 +0800 Subject: [PATCH] fix(database/gdb): #3754 FieldsEx feature conflicts with soft time feature in soft time fields updating --- contrib/drivers/mysql/testdata/issue3754.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 contrib/drivers/mysql/testdata/issue3754.sql diff --git a/contrib/drivers/mysql/testdata/issue3754.sql b/contrib/drivers/mysql/testdata/issue3754.sql new file mode 100644 index 00000000000..93b5f9dacc9 --- /dev/null +++ b/contrib/drivers/mysql/testdata/issue3754.sql @@ -0,0 +1,14 @@ +CREATE TABLE `issue3218_sys_config` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配置名称', + `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '配置值', + `created_at` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `updated_at` timestamp NULL DEFAULT NULL COMMENT '更新时间', + PRIMARY KEY (`id`) USING BTREE, + UNIQUE INDEX `name`(`name`(191)) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci; + +-- ---------------------------- +-- Records of sys_config +-- ---------------------------- +INSERT INTO `issue3218_sys_config` VALUES (49, 'site', '{\"banned_ip\":\"22\",\"filings\":\"2222\",\"fixed_page\":\"\",\"site_name\":\"22\",\"version\":\"22\"}', '2023-12-19 14:08:25', '2023-12-19 14:08:25'); \ No newline at end of file