diff options
author | Austin Clements <amdragon@MIT.EDU> | 2014-07-31 22:59:13 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-08-04 18:58:11 -0300 |
commit | 1d652c87193b34fe1057d7b02db0a4aad95b0fad (patch) | |
tree | e2968c2077c9980aff8954c6ffc53e7b25f88ab2 /lib | |
parent | 30de720ba09fdf67fbe45642da67b62dcc6ecdf7 (diff) |
lib: Fix slight misinformation in the database schema doc
The database schema documentation made it sound like each mail
document had exactly one on-disk message file, which hasn't been true
for a long time.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/database.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/database.cc b/lib/database.cc index 45c42607..c7602906 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -54,9 +54,12 @@ typedef struct { * * Mail document * ------------- - * A mail document is associated with a particular email message file - * on disk. It is indexed with the following prefixed terms which the - * database uses to construct threads, etc.: + * A mail document is associated with a particular email message. It + * is stored in one or more files on disk (though only one has its + * content indexed) and is uniquely identified by its "id" field + * (which is generally the message ID). It is indexed with the + * following prefixed terms which the database uses to construct + * threads, etc.: * * Single terms of given prefix: * |