baja-lite 1.8.6 → 1.8.7
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/package.json +1 -1
- package/sql.js +4 -4
package/package.json
CHANGED
package/sql.js
CHANGED
|
@@ -413,8 +413,8 @@ export class Mysql {
|
|
|
413
413
|
try {
|
|
414
414
|
connection = await this.createConnection(SyncMode.Async);
|
|
415
415
|
if (connection) {
|
|
416
|
-
|
|
417
|
-
globalThis[_LoggerService].debug?.('keepAlive->', data?.[0]?.[1]);
|
|
416
|
+
await connection.query(SyncMode.Async, 'SELECT 1 FROM DUAL');
|
|
417
|
+
// (globalThis[_LoggerService]! as LoggerService).debug?.('keepAlive->', data?.[0]?.[1]);
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
catch (error) {
|
|
@@ -731,8 +731,8 @@ export class Postgresql {
|
|
|
731
731
|
try {
|
|
732
732
|
connection = await this.createConnection(SyncMode.Async);
|
|
733
733
|
if (connection) {
|
|
734
|
-
|
|
735
|
-
globalThis[_LoggerService].debug?.('keepAlive->', data?.[0]?.[1]);
|
|
734
|
+
await connection.query(SyncMode.Async, 'SELECT 1 FROM DUAL');
|
|
735
|
+
// (globalThis[_LoggerService]! as LoggerService).debug?.('keepAlive->', data?.[0]?.[1]);
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
738
|
catch (error) {
|