Commit 71ecb9b1 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixed database query.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@797 b35dd754-fafc-0310-a699-88a17e54d16e
parent dcea7057
......@@ -51,7 +51,7 @@ public class MUCPersistenceManager {
"SELECT jid, nickname FROM mucMember WHERE roomID=?";
private static final String LOAD_HISTORY =
"SELECT sender, nickname, time, subject, body FROM mucConversationLog " +
"WHERE time>? AND roomID=? AND (nickname != \"\" OR subject IS NOT NULL) ORDER BY time";
"WHERE time>? AND roomID=? AND (nickname <> '' OR subject IS NOT NULL) ORDER BY time";
private static final String LOAD_ALL_ROOMS =
"SELECT roomID, creationDate, modificationDate, name, naturalName, description, " +
"lockedDate, emptyDate, canChangeSubject, maxUsers, publicRoom, moderated, membersOnly, " +
......@@ -63,7 +63,7 @@ public class MUCPersistenceManager {
"SELECT roomID,jid, nickname FROM mucMember";
private static final String LOAD_ALL_HISTORY =
"SELECT roomID, sender, nickname, time, subject, body FROM mucConversationLog " +
"WHERE time>? AND (nickname != \"\" OR subject IS NOT NULL) ORDER BY time";
"WHERE time>? AND (nickname <> '' OR subject IS NOT NULL) ORDER BY time";
private static final String UPDATE_ROOM =
"UPDATE mucRoom SET modificationDate=?, naturalName=?, description=?, " +
"canChangeSubject=?, maxUsers=?, publicRoom=?, moderated=?, membersOnly=?, " +
......
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