Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1340

Review stream writes

    Details

    • Type: Improvement
    • Status: QA
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.4.0 beta1
    • Fix Version/s: 2.4.0 beta2, 2.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Add transaction flag to stream writes, in order not to write to the database every time. Also update PHP-MAPI defs: https://stash.kopano.io/projects/KC/repos/kopanocore/pull-requests/1461/diff

       

      $stream = mapi_openproperty($store, PR_EC_WEBACCESS_SETTINGS_JSON, IID_IStream, 0x00010000, MAPI_CREATE | MAPI_MODIFY);
      mapi_stream_setsize($stream, strlen($settings));
      mapi_stream_write($stream, $settings);
      mapi_stream_commit($stream);
      mapi_savechanges($store);

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Manfred Manfred Kutas
                Reporter:
                Manfred Manfred Kutas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: