~ubuntu-branches/ubuntu/quantal/akonadi/quantal

« back to all changes in this revision

Viewing changes to server/src/handler/append.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac
  • Date: 2011-07-16 16:41:20 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20110716164120-ox4q9lqooq6jfr52
Tags: 1.6.0-0ubuntu1
New upstream release 

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    if ( m_streamParser->hasLiteral() ) {
62
62
      dataSize = m_streamParser->remainingLiteralSize();
63
63
      m_size = qMax( m_size, dataSize );
64
 
      storeInFile = DbConfig::configuredDatabase()->useExternalPayloadFile() && dataSize > DbConfig::configuredDatabase()->sizeThreshold();
 
64
      storeInFile = dataSize > DbConfig::configuredDatabase()->sizeThreshold();
65
65
      if ( storeInFile ) {
66
66
        if ( !tmpFile.open() ) {
67
67
          storeInFile =  false;