From dce91a03ef54f29a79f557ecbe0251cd607be158 Mon Sep 17 00:00:00 2001
From: CQG <UniGood@163.com>
Date: Fri, 17 Feb 2023 14:19:16 +0800
Subject: [PATCH] 文件上传服务获取InputStream未关闭,导致删除临时文件删除失败

---
 sql/ry_seata_20210128.sql |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/sql/ry_seata_20210128.sql b/sql/ry_seata_20210128.sql
index 4662eb2..80aeeff 100644
--- a/sql/ry_seata_20210128.sql
+++ b/sql/ry_seata_20210128.sql
@@ -1,3 +1,12 @@
+DROP DATABASE IF EXISTS `ry-seata`;
+
+CREATE DATABASE  `ry-seata` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+USE `ry-seata`;
+
 -- -------------------------------- The script used when storeMode is 'db' --------------------------------
 -- the table to store GlobalSession data
 CREATE TABLE IF NOT EXISTS `global_table`

--
Gitblit v1.9.3