Rename query_row_col to query_get_value

Since function `query_row_col` no longer accept column number argument,
it is misleading to mention column in its name.
This commit is contained in:
Dmitry Bogatov
2019-09-12 18:42:12 +00:00
parent bef25ad5f6
commit bb4081e503
13 changed files with 32 additions and 32 deletions

View File

@@ -754,7 +754,7 @@ pub fn handle_degrade_event(context: &Context, peerstate: &Peerstate) {
if Some(DegradeEvent::FingerprintChanged) == peerstate.degrade_event {
let contact_id: i32 = context
.sql
.query_row_col(
.query_get_value(
context,
"SELECT id FROM contacts WHERE addr=?;",
params![&peerstate.addr],