mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-02-19 12:04:54 +00:00
Add missing $3 for the new app_name parameter.
Fixes crash after scanning a disk.
This commit is contained in:
parent
eb618f0842
commit
588d735593
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ namespace din {
|
|||
uint32_t new_group_id;
|
||||
{
|
||||
auto id_res = conn.query("INSERT INTO \"sets\" "
|
||||
"(\"desc\",\"type\", \"app_name\") "
|
||||
"VALUES ($1, $2) RETURNING \"id\";",
|
||||
"(\"desc\",\"type\",\"app_name\") "
|
||||
"VALUES ($1, $2, $3) RETURNING \"id\";",
|
||||
parSetData.name,
|
||||
std::string(1, parSetData.type),
|
||||
parSignature
|
||||
|
|
Loading…
Add table
Reference in a new issue