canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.83k stars 216 forks source link

gateway: Appease Coverity #479

Closed cole-miller closed 1 year ago

cole-miller commented 1 year ago

The statement lookup in leader_exec_cb is infallible, because we've already looked up the same stmt_id in order to sqlite3_step the registered statement.

Signed-off-by: Cole Miller cole.miller@canonical.com