From e8843025eff0f0bb758a9000352a06903816704d Mon Sep 17 00:00:00 2001 From: Mikhail Chechnev Date: Sun, 25 Nov 2018 20:47:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=BE=D0=B9=20=D1=80=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=B8=D0=BD=D0=B3=20=D0=B8=D0=BC=D0=B5=D0=BD=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=20=D0=B2=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8?= =?UTF-8?q?=D0=B3=D1=83=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20=D1=81=D0=B5=D1=80?= =?UTF-8?q?=D0=B2=D0=B5=D1=80=D0=B0=20=D0=BF=D1=80=D0=B8=D0=BB=D0=BE=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 4 ++-- modules/parus_oracle_db.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 4b571ce..17ed908 100644 --- a/config.js +++ b/config.js @@ -15,8 +15,8 @@ let dbConnect = { sPassword: "parus", //Строка подключения к БД sConnectString: "DEMOP_CITKSERV_WAN", - //Наименование модуля (для сессии БД) - sSessionModuleName: "PARUS$ExchangeServer", + //Наименование сервера приложений в сессии БД + sSessionAppName: "PARUS$ExchangeServer", //Подключаемый модуль обслуживания БД (низкоуровневые функции работы с СУБД) sConnectorModule: "parus_oracle_db.js" }; diff --git a/modules/parus_oracle_db.js b/modules/parus_oracle_db.js index ac1fcf0..a8c4f44 100644 --- a/modules/parus_oracle_db.js +++ b/modules/parus_oracle_db.js @@ -66,7 +66,7 @@ const connect = async prms => { password: prms.sPassword, connectString: prms.sConnectString }); - if (prms.sSessionModuleName) conn.module = prms.sSessionModuleName; + if (prms.sSessionAppName) conn.module = prms.sSessionAppName; return conn; } else { throw new Error(