diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-04-29 18:52:18 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.co.uk> | 2011-04-29 18:52:18 -0400 |
commit | ef7630df9f8335067b3800514ad0b1b26687a094 (patch) | |
tree | 1cfca1cc70e32625b76410837b1f249b8aa6d464 | |
parent | 9294098aa6bf2694ca403c03179672caf2b3d0f3 (diff) |
Fix SQL syntax error and pending message order
-rw-r--r-- | telepathy-logger/log-store-sqlite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-logger/log-store-sqlite.c b/telepathy-logger/log-store-sqlite.c index dd1860d..600d469 100644 --- a/telepathy-logger/log-store-sqlite.c +++ b/telepathy-logger/log-store-sqlite.c @@ -692,7 +692,7 @@ _tpl_log_store_sqlite_get_pending_messages (TplLogStore *self, e = sqlite3_prepare_v2 (priv->db, "SELECT id,timestamp " "FROM pending_messages " "WHERE channel=? " - "ORDER BY id DSC", + "ORDER BY id ASC", -1, &sql, NULL); if (e != SQLITE_OK) |