diff options
| author | David Bremner <david@tethera.net> | 2018-11-17 10:09:00 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-25 07:08:20 -0300 |
| commit | b52cda90f0b05ce5055fb840e6d9dd88c09f1f83 (patch) | |
| tree | 18d285f1e0d1d299e0d7a80db8bae989ff6a576c /lib/thread.cc | |
| parent | 575493e78534f8fd241d663b8690a22d6885e0b1 (diff) | |
lib: cache user prefixes in database object
This will be used to avoid needing a database access to resolve a db
prefix from the corresponding UI prefix (e.g. when indexing). Arguably
the setup of the separate header map does not belong here, since it is
about indexing rather than querying, but we currently don't have any
other indexing setup to do.
Diffstat (limited to 'lib/thread.cc')
| -rw-r--r-- | lib/thread.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/thread.cc b/lib/thread.cc index c9c9398f..fd0e1393 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -30,8 +30,6 @@ #define THREAD_DEBUG(format, ...) do {} while (0) /* ignored */ #endif -#define EMPTY_STRING(s) ((s)[0] == '\0') - struct _notmuch_thread { notmuch_database_t *notmuch; char *thread_id; |
