This repository was archived by the owner on Jul 14, 2020. It is now read-only.
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5187,7 +5187,7 @@ class MySQL {
5187
5187
if (version[0] === '5' || version[0] === '8') {
5188
5188
versionPrefix = 'MySQL';
5189
5189
}
5190
- profiler.setVersion(`${versionPrefix}- ${version}`);
5190
+ profiler.setVersion(`${versionPrefix}: ${version}`);
5191
5191
logger.log('\x1b[32m[mysql-async]\x1b[0m Database server connection established.');
5192
5192
} else {
5193
5193
logger.error(`[ERROR] ${error.message}`);
@@ -14829,6 +14829,7 @@ class Profiler {
14829
14829
};
14830
14830
}
14831
14831
}
14832
+ // todo: cull old intervals
14832
14833
14833
14834
if (this.slowQueryLimit < queryTime) {
14834
14835
this.addSlowQuery(sql, resource, queryTime);
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class MySQL {
18
18
if ( version [ 0 ] === '5' || version [ 0 ] === '8' ) {
19
19
versionPrefix = 'MySQL' ;
20
20
}
21
- profiler . setVersion ( `${ versionPrefix } - ${ version } ` ) ;
21
+ profiler . setVersion ( `${ versionPrefix } : ${ version } ` ) ;
22
22
logger . log ( '\x1b[32m[mysql-async]\x1b[0m Database server connection established.' ) ;
23
23
} else {
24
24
logger . error ( `[ERROR] ${ error . message } ` ) ;
You can’t perform that action at this time.
0 commit comments