Commit b0bf790f authored by Ronan's avatar Ronan

fix(MainDb): Schrodinger commit 2

parent 1dda2e3d
...@@ -347,7 +347,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate), ...@@ -347,7 +347,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
*session << "SELECT name, size, path FROM chat_message_file_content" *session << "SELECT name, size, path FROM chat_message_file_content"
" WHERE chat_message_content_id = :contentId", " 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 *fileContent = new FileContent();
fileContent->setFileName(name); fileContent->setFileName(name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment