Update markerline correctly on postgres
authorSebastian Goth <seezer@roath.org>
Tue, 19 Jan 2010 14:24:34 +0000 (15:24 +0100)
committerSebastian Goth <seezer@roath.org>
Tue, 19 Jan 2010 14:24:34 +0000 (15:24 +0100)
src/core/postgresqlstorage.cpp

index bae7c9f..2505373 100644 (file)
@@ -1151,7 +1151,7 @@ void PostgreSqlStorage::setBufferMarkerLineMsg(UserId user, const BufferId &buff
 
   query.bindValue(":userid", user.toInt());
   query.bindValue(":bufferid", bufferId.toInt());
-  query.bindValue(":lastseenmsgid", msgId.toInt());
+  query.bindValue(":markerlinemsgid", msgId.toInt());
   safeExec(query);
   watchQuery(query);
 }