PostgreSqlStorage: Fix apparently-incorrect index in requestAllMsgs
authorMichael Marley <michael@michaelmarley.com>
Tue, 27 Mar 2018 23:41:28 +0000 (19:41 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 5 Apr 2018 22:28:38 +0000 (00:28 +0200)
commit3bf86a5278e26bec5e708a566e6926125f1941f0
treed6c861f1132de30b89232fcf5e18e8572d65d455
parentd31101ed316b6449de0d8dad7a1e1e8d097807a5
PostgreSqlStorage: Fix apparently-incorrect index in requestAllMsgs

This function was using 1 for its date index, which is the same
index as was used for bufferid.  The correct index to use is 2.

Closes GH-346.
src/core/postgresqlstorage.cpp