From 51a613d0a6e5993963610101d0aeceb48a967fde Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 2 Aug 2013 09:45:52 +0200 Subject: [PATCH] Don't update insert ID for status updates. --- lib/ido/dbobject.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ido/dbobject.cpp b/lib/ido/dbobject.cpp index d8b3a9ca4..3802f0094 100644 --- a/lib/ido/dbobject.cpp +++ b/lib/ido/dbobject.cpp @@ -112,7 +112,6 @@ void DbObject::SendStatusUpdate(void) query.Fields->Set("status_update_time", DbValue::FromTimestamp(Utility::GetTime())); query.WhereCriteria = boost::make_shared(); query.WhereCriteria->Set(GetType()->GetIDColumn(), GetObject()); - query.Object = GetSelf(); OnQuery(query); m_LastStatusUpdate = Utility::GetTime();