Skip to content

Commit

Permalink
spi-stats:fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljl committed Jul 29, 2024
1 parent 6f28aee commit c037dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/spi/spi-stats/src/serv/pg/stats_pg_record_serv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ async fn fact_get_idempotent_record_raw(
let table_name = package_table_name(&format!("stats_inst_fact_{fact_conf_key}"), ctx);
let result = conn
.query_one(
&format!("SELECT * FROM {table_name} WHERE and idempotent_id = $2 ORDER BY ct DESC"),
&format!("SELECT * FROM {table_name} WHERE idempotent_id = $2 ORDER BY ct DESC"),
vec![Value::from(idempotent_id)],
)
.await?;
Expand Down

0 comments on commit c037dab

Please sign in to comment.