mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
fix
This commit is contained in:
@@ -68,7 +68,7 @@ const driver = {
|
||||
}) {
|
||||
const oracledb = getOracledb();
|
||||
if (authType == 'thick' && !oracleClientInitialized) {
|
||||
oracledb.initOracleClient({ libDir: clientLibraryPath });
|
||||
oracledb.initOracleClient({ libDir: clientLibraryPath || process.env.ORACLE_INSTANT_CLIENT });
|
||||
oracleClientInitialized = true;
|
||||
}
|
||||
client = await oracledb.getConnection({
|
||||
|
||||
Reference in New Issue
Block a user