Skip to content

Commit

Permalink
fix backlog getlog
Browse files Browse the repository at this point in the history
  • Loading branch information
alihm committed Aug 1, 2023
1 parent 6f92419 commit 675f514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClusterOperator/Backlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class BackLog {
}
try {
if (config.dbType === 'mysql') {
const record = await this.BLClient.execute(`SELECT * FROM ${config.dbBacklogCollection} WHERE seq=?`, [index]);
const record = await this.BLClient.query(`SELECT * FROM ${config.dbBacklogCollection} WHERE seq=${index}`);
// log.info(`backlog records ${startFrom},${pageSize}:${JSON.stringify(totalRecords)}`);
return record;
}
Expand Down

0 comments on commit 675f514

Please sign in to comment.