mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
fix: correct databaseFile for engines with databseFileLocationOnServer
This commit is contained in:
@@ -47,7 +47,7 @@ async function prepareConnection(engine, database) {
|
||||
if (engine.generateDbFile) {
|
||||
return {
|
||||
...connection,
|
||||
databaseFile: `dbtemp/${database}`,
|
||||
databaseFile: (engine.databaseFileLocationOnServer ?? 'dbtemp/') + database,
|
||||
isPreparedOnly: true,
|
||||
};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user