[PATCH 1/5] Fix comments about what is stored in the database

2011-12-23 Thread David Bremner
On Tue, 13 Dec 2011 18:11:41 +0100, Thomas Jost  
wrote:
> Commit 567bcbc2 introduced two new values for each message (content of the
> "From" and "Subject" headers), but the comments about the database schema had
> not been updated accordingly.

Pushed this one.

d


Re: [PATCH 1/5] Fix comments about what is stored in the database

2011-12-23 Thread David Bremner
On Tue, 13 Dec 2011 18:11:41 +0100, Thomas Jost  wrote:
> Commit 567bcbc2 introduced two new values for each message (content of the
> "From" and "Subject" headers), but the comments about the database schema had
> not been updated accordingly.

Pushed this one.

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[PATCH 1/5] Fix comments about what is stored in the database

2011-12-13 Thread Thomas Jost
Commit 567bcbc2 introduced two new values for each message (content of the
"From" and "Subject" headers), but the comments about the database schema had
not been updated accordingly.
---
 lib/database.cc |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/lib/database.cc b/lib/database.cc
index 98f101e..2025189 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -81,13 +81,17 @@ typedef struct {
  * STRING is the name of a file within that
  * directory for this mail message.
  *
- *A mail document also has two values:
+ *A mail document also has four values:
  *
  * TIMESTAMP:  The time_t value corresponding to the message's
  * Date header.
  *
  * MESSAGE_ID: The unique ID of the mail mess (see "id" above)
  *
+ * FROM:   The value of the "From" header
+ *
+ * SUBJECT:The value of the "Subject" header
+ *
  * In addition, terms from the content of the message are added with
  * "from", "to", "attachment", and "subject" prefixes for use by the
  * user in searching. Similarly, terms from the path of the mail
-- 
1.7.8



[PATCH 1/5] Fix comments about what is stored in the database

2011-12-13 Thread Thomas Jost
Commit 567bcbc2 introduced two new values for each message (content of the
"From" and "Subject" headers), but the comments about the database schema had
not been updated accordingly.
---
 lib/database.cc |6 +-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/lib/database.cc b/lib/database.cc
index 98f101e..2025189 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -81,13 +81,17 @@ typedef struct {
  * STRING is the name of a file within that
  * directory for this mail message.
  *
- *A mail document also has two values:
+ *A mail document also has four values:
  *
  * TIMESTAMP:  The time_t value corresponding to the message's
  * Date header.
  *
  * MESSAGE_ID: The unique ID of the mail mess (see "id" above)
  *
+ * FROM:   The value of the "From" header
+ *
+ * SUBJECT:The value of the "Subject" header
+ *
  * In addition, terms from the content of the message are added with
  * "from", "to", "attachment", and "subject" prefixes for use by the
  * user in searching. Similarly, terms from the path of the mail
-- 
1.7.8

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch