File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
*
6
6
* Copyright (c) 1998-2008, PostgreSQL Global Development Group
7
7
*
8
- * $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.11 2008/05/16 16:31:02 tgl Exp $
8
+ * $PostgreSQL: pgsql/src/include/tsearch/ts_type.h,v 1.12 2008/06/10 08:55:50 heikki Exp $
9
9
*
10
10
*-------------------------------------------------------------------------
11
11
*/
@@ -238,10 +238,10 @@ typedef TSQueryData *TSQuery;
238
238
*/
239
239
#define COMPUTESIZE (size , lenofoperand ) ( HDRSIZETQ + (size) * sizeof(QueryItem) + (lenofoperand) )
240
240
241
- /* Returns a pointer to the first QueryItem in a TSVector */
241
+ /* Returns a pointer to the first QueryItem in a TSQuery */
242
242
#define GETQUERY (x ) ((QueryItem*)( (char*)(x)+HDRSIZETQ ))
243
243
244
- /* Returns a pointer to the beginning of operands in a TSVector */
244
+ /* Returns a pointer to the beginning of operands in a TSQuery */
245
245
#define GETOPERAND (x ) ( (char*)GETQUERY(x) + ((TSQuery)(x))->size * sizeof(QueryItem) )
246
246
247
247
/*
You can’t perform that action at this time.
0 commit comments