[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [akonadi] server/src/storage: Fix (again) Akonadi for PostgreSql.
From:       Andras Mantia <amantia () kde ! org>
Date:       2013-07-24 9:48:27
Message-ID: E1V1vgJ-0006RF-9I () scm ! kde ! org
[Download RAW message or body]

Git commit 5b606c460834d63cf2953137748b66834c9ddb55 by Andras Mantia.
Committed on 24/07/2013 at 09:48.
Pushed by amantia into branch 'master'.

Fix (again) Akonadi for PostgreSql.

M  +1    -0    server/src/storage/datastore.cpp

http://commits.kde.org/akonadi/5b606c460834d63cf2953137748b66834c9ddb55

diff --git a/server/src/storage/datastore.cpp b/server/src/storage/datastor=
e.cpp
index 42806bd..6fd5d25 100644
--- a/server/src/storage/datastore.cpp
+++ b/server/src/storage/datastore.cpp
@@ -238,6 +238,7 @@ bool DataStore::doAppendItemsFlag( const PimItem::List =
&items, const Flag &flag,
   QueryBuilder qb2( PimItemFlagRelation::tableName(), QueryBuilder::Insert=
 );
   qb2.setColumnValue( PimItemFlagRelation::leftColumn(), appendIds );
   qb2.setColumnValue( PimItemFlagRelation::rightColumn(), flagIds );
+  qb2.setIdentificationColumn( QString() );
   if ( !qb2.exec() ) {
     akDebug() << "Failed to execute query:" << qb2.query().lastError();
     return false;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic