forked from loopbackio/loopback-connector-mysql
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Artem Skripnik edited this page Oct 2, 2018
·
2 revisions
- Looks like project loopback-connector-readsplitmysql abandoned and code here is exact copy of original loopback-connector-mysql now.
- Latest "splitting master/slave" version of loopback-connector-readsplitmysql on npm is 2.4.4 which starting from 2.4.3 has a bug in the file /lib/mysql.js line:
this is not correct:
const client = isWriteOperation || ~!this.readClient ||options.transaction ? this.writeClient : this.readClient;
this is correct:
const client = isWriteOperation || options.transaction ? this.writeClient : this.readClient;
So use v 2.4.2