projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
614cde3
)
In addRecordKeyAny: Writes key only when attrSet != -1.
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Dec 1995 12:37:41 +0000
(12:37 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Dec 1995 12:37:41 +0000
(12:37 +0000)
index/extract.c
patch
|
blob
|
history
diff --git
a/index/extract.c
b/index/extract.c
index
b320cbc
..
d5296a2
100644
(file)
--- a/
index/extract.c
+++ b/
index/extract.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: extract.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: extract.c,v $
- * Revision 1.44 1995-12-12 16:00:54 adam
+ * Revision 1.45 1995-12-15 12:37:41 adam
+ * In addRecordKeyAny: Writes key only when attrSet != -1.
+ *
+ * Revision 1.44 1995/12/12 16:00:54 adam
* System call sync(2) used after update/commit.
* Locking (based on fcntl) uses F_EXLCK and F_SHLCK instead of F_WRLCK
* and F_RDLCK.
* System call sync(2) used after update/commit.
* Locking (based on fcntl) uses F_EXLCK and F_SHLCK instead of F_WRLCK
* and F_RDLCK.
@@
-485,7
+488,8
@@
static void addRecordKeyAny (const RecWord *p)
w.attrUse = 1016;
addRecordKey (&w);
}
w.attrUse = 1016;
addRecordKey (&w);
}
- addRecordKey (p);
+ else if (p->attrSet != -1)
+ addRecordKey (p);
}
}