From d8b202058a527c4a26ea73c8c63bf8b518f7138f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D1=80=D0=BE=D0=B1=D0=BA=D0=BE=20=D0=90=2E?= =?UTF-8?q?=D0=AF=2E?= Date: Mon, 30 Oct 2023 20:26:32 +0300 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0?= =?UTF-8?q?=20=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8=20=D0=B2=D0=BE=D1=81=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" "b/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" index 157154a..c3b2260 100644 --- "a/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" +++ "b/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" @@ -650,7 +650,7 @@ ТекстЗапроса = СтрШаблон("""USE [master]; | - |ALTER DATABASE %1 + |ALTER DATABASE [%1] |SET RECOVERY %2"" ", База, МодельВосстановления); From 7a63e9506255a65bb082d52b6421692e5d0e513b Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Fri, 29 Dec 2023 17:39:56 +0700 Subject: [PATCH 2/2] =?UTF-8?q?Update=20=D0=9F=D0=BE=D0=B4=D0=BA=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D0=B5MSSQL.os?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Удаление бэкслэша из шаблонов запросов создания и восстановления БД. --- ...1\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git "a/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" "b/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" index c3b2260..5954e72 100644 --- "a/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" +++ "b/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" @@ -349,10 +349,10 @@ |CREATE DATABASE [%1] |ON |( NAME = %1, - | FILENAME = '%2\%1.mdf') + | FILENAME = '%2%1.mdf') |LOG ON |( NAME = %1_log, - | FILENAME = '%2\%1_log.ldf'); + | FILENAME = '%2%1_log.ldf'); | |ALTER DATABASE [%1] |SET RECOVERY %3"" ", @@ -885,8 +885,8 @@ |ALTER DATABASE [%1] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; | |RESTORE DATABASE [%1] FROM DISK = N'%2' WITH FILE = 1, - |MOVE N'%3' TO N'%4\%1.mdf', - |MOVE N'%5' TO N'%6\%1_log.ldf', + |MOVE N'%3' TO N'%4%1.mdf', + |MOVE N'%5' TO N'%6%1_log.ldf', |NOUNLOAD, REPLACE, STATS = 10; | |ALTER DATABASE [%1] SET MULTI_USER"" ",