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
|
||||
*/
|
||||
void AttributeTask(char *tenantId, int colocationId, CmdType commandType)
|
||||
void
|
||||
AttributeTask(char *tenantId, int colocationId, CmdType commandType)
|
||||
{
|
||||
colocationGroupId = colocationId;
|
||||
strcpy_s(attributeToTenant, sizeof(attributeToTenant), tenantId);
|
||||
|
@ -220,6 +222,7 @@ void AttributeTask(char *tenantId, int colocationId, CmdType commandType)
|
|||
attributeToTenantStart = clock();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* AnnotateQuery annotates the query with tenant attributes.
|
||||
*/
|
||||
|
@ -657,6 +660,7 @@ ExtractTopComment(const char *inputString)
|
|||
return commentData->data;
|
||||
}
|
||||
|
||||
|
||||
/* EscapeCommentChars adds a backslash before each occurrence of '*' or '/' in the input string */
|
||||
static char *
|
||||
EscapeCommentChars(const char *str)
|
||||
|
@ -678,6 +682,7 @@ EscapeCommentChars(const char *str)
|
|||
return escapedString->data;
|
||||
}
|
||||
|
||||
|
||||
/* UnescapeCommentChars removes the backslash that precedes '*' or '/' in the input string. */
|
||||
static char *
|
||||
UnescapeCommentChars(const char *str)
|
||||
|
|
Loading…
Reference in New Issue