Comment fix, should say TSQuery instead of TSVector.
authorHeikki Linnakangas <heikki@enterprisedb.com>
Tue, 10 Jun 2008 08:55:50 +0000 (08:55 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Tue, 10 Jun 2008 08:55:50 +0000 (08:55 +0000)
Per Jan Urbanski.

src/include/tsearch/ts_type.h

index a288bbdecd513ea6a5dbcab04ef63e7fc158345a..1a02eed44c103f5b19d020e5ca3948f9e1f90a6e 100644 (file)
@@ -238,10 +238,10 @@ typedef TSQueryData *TSQuery;
  */
 #define COMPUTESIZE(size, lenofoperand) ( HDRSIZETQ + (size) * sizeof(QueryItem) + (lenofoperand) )
 
-/* Returns a pointer to the first QueryItem in a TSVector */
+/* Returns a pointer to the first QueryItem in a TSQuery */
 #define GETQUERY(x)  ((QueryItem*)( (char*)(x)+HDRSIZETQ ))
 
-/* Returns a pointer to the beginning of operands in a TSVector */
+/* Returns a pointer to the beginning of operands in a TSQuery */
 #define GETOPERAND(x)  ( (char*)GETQUERY(x) + ((TSQuery)(x))->size * sizeof(QueryItem) )
 
 /*