[dovecot/core] 9f37ef: lib-storage: Change mailbox_attribute_get* API

GitHub noreply at github.com
Wed Aug 10 17:30:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 9f37ef2a9192e7d47e3d7ac959080fd01120f2e9
      https://github.com/dovecot/core/commit/9f37ef2a9192e7d47e3d7ac959080fd01120f2e9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M src/lib-storage/index/index-attribute.c
    M src/lib-storage/index/index-storage.h
    M src/lib-storage/mail-storage-private.h
    M src/lib-storage/mailbox-attribute-internal.c
    M src/lib-storage/mailbox-attribute.c
    M src/lib-storage/mailbox-attribute.h

  Log Message:
  -----------
  lib-storage: Change mailbox_attribute_get* API

lib-storage/mailbox-attribute.h: mailbox_attribute_get() and
mailbox_attribute_get_stream() now has struct mailbox_transaction_context
as their first parameter. This isn't good for performance, because opening
a transaction requires opening mailbox indexes first. But reading
attributes wouldn't actually require opening the indexes, so this is just
wasteful.


  Commit: 66c87722e0fd2a85cd59797326bad3d1c409dc3a
      https://github.com/dovecot/core/commit/66c87722e0fd2a85cd59797326bad3d1c409dc3a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-10 (Wed, 10 Aug 2016)

  Changed paths:
    M src/doveadm/doveadm-mail-mailbox-metadata.c
    M src/doveadm/dsync/dsync-mailbox-export.c
    M src/doveadm/dsync/dsync-mailbox-import.c
    M src/lib-imap-storage/imap-metadata.c
    M src/lib-imap-urlauth/imap-urlauth-backend.c
    M src/plugins/acl/acl-attributes.c
    M src/plugins/acl/acl-storage.h
    M src/plugins/push-notification/push-notification-driver-ox.c

  Log Message:
  -----------
  global: Update mailbox_attribute_get API usage


Compare: https://github.com/dovecot/core/compare/ad759d5e8971...66c87722e0fd


More information about the dovecot-cvs mailing list