mirror of https://github.com/citusdata/citus.git
Indent
parent
bb2ab9e93c
commit
46ae3a37d5
|
@ -200,10 +200,12 @@ AttributeQueryIfAnnotated(const char *query_string, CmdType commandType)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AttributeTask assigns the given attributes of a tenant and starts a timer
|
* AttributeTask assigns the given attributes of a tenant and starts a timer
|
||||||
*/
|
*/
|
||||||
void AttributeTask(char *tenantId, int colocationId, CmdType commandType)
|
void
|
||||||
|
AttributeTask(char *tenantId, int colocationId, CmdType commandType)
|
||||||
{
|
{
|
||||||
colocationGroupId = colocationId;
|
colocationGroupId = colocationId;
|
||||||
strcpy_s(attributeToTenant, sizeof(attributeToTenant), tenantId);
|
strcpy_s(attributeToTenant, sizeof(attributeToTenant), tenantId);
|
||||||
|
@ -220,6 +222,7 @@ void AttributeTask(char *tenantId, int colocationId, CmdType commandType)
|
||||||
attributeToTenantStart = clock();
|
attributeToTenantStart = clock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* AnnotateQuery annotates the query with tenant attributes.
|
* AnnotateQuery annotates the query with tenant attributes.
|
||||||
*/
|
*/
|
||||||
|
@ -657,6 +660,7 @@ ExtractTopComment(const char *inputString)
|
||||||
return commentData->data;
|
return commentData->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* EscapeCommentChars adds a backslash before each occurrence of '*' or '/' in the input string */
|
/* EscapeCommentChars adds a backslash before each occurrence of '*' or '/' in the input string */
|
||||||
static char *
|
static char *
|
||||||
EscapeCommentChars(const char *str)
|
EscapeCommentChars(const char *str)
|
||||||
|
@ -678,6 +682,7 @@ EscapeCommentChars(const char *str)
|
||||||
return escapedString->data;
|
return escapedString->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* UnescapeCommentChars removes the backslash that precedes '*' or '/' in the input string. */
|
/* UnescapeCommentChars removes the backslash that precedes '*' or '/' in the input string. */
|
||||||
static char *
|
static char *
|
||||||
UnescapeCommentChars(const char *str)
|
UnescapeCommentChars(const char *str)
|
||||||
|
|
Loading…
Reference in New Issue