gg-mysql-connector 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/GGMySQLConnector.js
CHANGED
|
@@ -216,6 +216,7 @@ class GGMySQLConnector {
|
|
|
216
216
|
user: this.DBInfo.user,
|
|
217
217
|
password: this.DBInfo.password,
|
|
218
218
|
});
|
|
219
|
+
this.isConnected = true;
|
|
219
220
|
await this.createDatabaseIfNotExist(currentConnection);
|
|
220
221
|
// await currentConnection.end()
|
|
221
222
|
this.connection = mysql2_1.default.createConnection(Object.assign({}, this.DBInfo));
|
package/package.json
CHANGED
package/src/GGMySQLConnector.ts
CHANGED
|
@@ -356,6 +356,7 @@ export default class GGMySQLConnector<Main> implements ClassDBInterface<Main> {
|
|
|
356
356
|
user: this.DBInfo.user,
|
|
357
357
|
password: this.DBInfo.password,
|
|
358
358
|
})
|
|
359
|
+
this.isConnected = true
|
|
359
360
|
await this.createDatabaseIfNotExist(currentConnection)
|
|
360
361
|
// await currentConnection.end()
|
|
361
362
|
|