Skip to content

Commit 058fb69

Browse files
committed
fix formatting
1 parent 3811abf commit 058fb69

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

jsquery_extract.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/*-------------------------------------------------------------------------
22
*
33
* jsquery_extract.c
4-
* Functions and operations to support jsquery in indexes
4+
* Functions and operations to support jsquery in indexes
55
*
66
* Copyright (c) 2014, PostgreSQL Global Development Group
77
* Author: Alexander Korotkov <aekorotkov@gmail.com>
88
*
99
* IDENTIFICATION
10-
* contrib/jsquery/jsquery_extract.c
10+
* contrib/jsquery/jsquery_extract.c
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -43,10 +43,10 @@ static void debugRecursive(StringInfo buf, ExtractedNode *node, int shift);
4343
static ExtractedNode *
4444
recursiveExtract(JsQueryItem *jsq, bool not, bool indirect, PathItem *path)
4545
{
46-
ExtractedNode *leftNode, *rightNode, *result;
47-
PathItem *pathItem;
48-
ExtractedNodeType type;
49-
JsQueryItem elem, e;
46+
ExtractedNode *leftNode, *rightNode, *result;
47+
PathItem *pathItem;
48+
ExtractedNodeType type;
49+
JsQueryItem elem, e;
5050

5151
check_stack_depth();
5252

@@ -453,11 +453,11 @@ compareJsQueryItem(JsQueryItem *v1, JsQueryItem *v2)
453453
static void
454454
processGroup(ExtractedNode *node, int start, int end)
455455
{
456-
int i;
456+
int i;
457457
JsQueryItem *leftBound = NULL,
458458
*rightBound = NULL,
459459
*exactValue = NULL;
460-
bool leftInclusive = false,
460+
bool leftInclusive = false,
461461
rightInclusive = false,
462462
first = true;
463463
ExtractedNode *child;
@@ -575,8 +575,8 @@ simplifyRecursive(ExtractedNode *node)
575575
{
576576
if (node->type == eAnd)
577577
{
578-
int i, groupStart = -1;
579-
ExtractedNode *child, *prevChild = NULL;
578+
int i, groupStart = -1;
579+
ExtractedNode *child, *prevChild = NULL;
580580

581581
for (i = 0; i < node->args.count; i++)
582582
node->args.items[i]->number = i;
@@ -764,7 +764,7 @@ ExtractedNode *
764764
extractJsQuery(JsQuery *jq, MakeEntryHandler makeHandler,
765765
CheckEntryHandler checkHandler, Pointer extra)
766766
{
767-
ExtractedNode *root;
767+
ExtractedNode *root;
768768
JsQueryItem jsq;
769769

770770
jsqInit(&jsq, jq);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy