This hopefully fixes the occasional segfault when exiting the core.
[quassel.git] / src / core / SQL / SQLite / 1 / select_lastMessage.sql
1 SELECT messageid FROM backlog
2 WHERE time = :time AND bufferid = :bufferid AND type = :type AND senderid = (SELECT senderid FROM sender WHERE sender = :sender)