Skip to content

Commit

Permalink
Merge pull request #70 from outerbase/bwilmoth/change-data-capture-pl…
Browse files Browse the repository at this point in the history
…ugin

fix: Fix query log insert issue
  • Loading branch information
Brayden authored Jan 22, 2025
2 parents 1630c1d + 7687632 commit 37cc5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/query-log/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class QueryLogPlugin extends StarbasePlugin {
private async addQuery(dataSource: DataSource) {
try {
const statement =
'INSERT INTO tmp_query_log (sql_statement, duration) VALUES (?, ?, ?)'
'INSERT INTO tmp_query_log (sql_statement, duration) VALUES (?, ?)'
await dataSource.rpc.executeQuery({
sql: statement,
params: [this.state.query, this.state.totalTime],
Expand Down

0 comments on commit 37cc5f2

Please sign in to comment.