Skip to content

Commit d4d88f5

Browse files
committed
dbname not defined issue
1 parent a23b4cb commit d4d88f5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/api/migrateifxpg.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ async function migrateifxupdatedata(payload, client) {
7474
console.log(columnNames);
7575
const tablename = payload.TABLENAME
7676
const db_schema = payload.SCHEMANAME
77+
const dbname = payload.SCHEMANAME
7778
let schemaname = (db_schema == pg_dbname) ? 'public' : db_schema;
7879
console.log(tablename);
7980
payload = payload.DATA;

src/api/testinfcon.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const ifxcore = require('./src/common/informix_ifxnjs')
2+
async function ab()
3+
{
4+
const connection = await ifxcore.getInformixConnection('jive')
5+
connection.closeAsync();
6+
}
7+
ab()

0 commit comments

Comments
 (0)