Skip to content

Commit a590459

Browse files
add mysql.xPluginIsEnabled
1 parent ab8eb3b commit a590459

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/libraries/Executor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ class Executor {
232232
username: options.username,
233233
mysql: {
234234
version: this.version,
235-
versionIsInstalledOnSystem: this.versionInstalledOnSystem
235+
versionIsInstalledOnSystem: this.versionInstalledOnSystem,
236+
xPluginIsEnabled: xStartedSuccessfully
236237
},
237238
stop: () => {
238239
return new Promise(async (resolve, reject) => {

types/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ export type MySQLDB = {
5555
username: string,
5656
mysql: {
5757
version: string,
58-
versionIsInstalledOnSystem: boolean
58+
versionIsInstalledOnSystem: boolean,
59+
xPluginIsEnabled: boolean
5960
},
6061
stop: () => Promise<void>
6162
}

0 commit comments

Comments
 (0)