Skip to content

Commit c008ee1

Browse files
roopen219vlasky
authored andcommitted
open connection when binlog_checksum is NONE
1 parent 2fc5b90 commit c008ee1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ ZongJi.prototype._isChecksumEnabled = function(next) {
8787
.then(rows => {
8888
if (rows[0].checksum === 'NONE') {
8989
checksumEnabled = false;
90+
return query(this.connection, 'SELECT 1');
9091
}
9192

9293
if (checksumEnabled) {

0 commit comments

Comments
 (0)