mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Spellcheck
This commit is contained in:
committed by
Floris Bruynooghe
parent
c116d6f73f
commit
686678c96c
@@ -844,7 +844,7 @@ pub fn get_rowid(
|
||||
) -> u32 {
|
||||
// alternative to sqlite3_last_insert_rowid() which MUST NOT be used due to race conditions, see comment above.
|
||||
// the ORDER BY ensures, this function always returns the most recent id,
|
||||
// eg. if a Message-ID is splitted into different messages.
|
||||
// eg. if a Message-ID is split into different messages.
|
||||
let query = format!(
|
||||
"SELECT id FROM {} WHERE {}='{}' ORDER BY id DESC",
|
||||
table.as_ref(),
|
||||
|
||||
Reference in New Issue
Block a user