fix(MainDb): Schrodinger commit 2

This commit is contained in:
Ronan Abhamon 2017-11-09 16:53:20 +01:00
parent 1dda2e3d36
commit b0bf790f6b

View file

@ -347,7 +347,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
*session << "SELECT name, size, path FROM chat_message_file_content"
" WHERE chat_message_content_id = :contentId",
soci::into(name), soci::into(size), soci::into(path) soci::use(contentId);
soci::into(name), soci::into(size), soci::into(path), soci::use(contentId);
FileContent *fileContent = new FileContent();
fileContent->setFileName(name);