mirror of https://github.com/citusdata/citus.git
a few typos etc.
parent
743abdd9f5
commit
fd195b13b0
|
@ -167,7 +167,7 @@ CallFuncExprRemotely(CallStmt *callStmt, DistObjectCacheEntry *procedure,
|
||||||
Task *task = CitusMakeNode(Task);
|
Task *task = CitusMakeNode(Task);
|
||||||
|
|
||||||
task->jobId = INVALID_JOB_ID;
|
task->jobId = INVALID_JOB_ID;
|
||||||
task->taskId = 0;
|
task->taskId = INVALID_TASK_ID;
|
||||||
task->taskType = DDL_TASK;
|
task->taskType = DDL_TASK;
|
||||||
SetTaskQueryString(task, callCommand->data);
|
SetTaskQueryString(task, callCommand->data);
|
||||||
task->replicationModel = REPLICATION_MODEL_INVALID;
|
task->replicationModel = REPLICATION_MODEL_INVALID;
|
||||||
|
|
|
@ -2009,7 +2009,7 @@ ShouldRunTasksSequentially(List *taskList)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SequentialRunDistributedExecution gets a distributed execution and
|
* SequentialRunDistributedExecution gets a distributed execution and
|
||||||
* executes each individual task in the exection sequentially, one
|
* executes each individual task in the execution sequentially, one
|
||||||
* task at a time. See related function ShouldRunTasksSequentially()
|
* task at a time. See related function ShouldRunTasksSequentially()
|
||||||
* for more detail on the definition of SequentialRun.
|
* for more detail on the definition of SequentialRun.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -216,7 +216,6 @@ master_drop_all_shards(PG_FUNCTION_ARGS)
|
||||||
text *schemaNameText = PG_GETARG_TEXT_P(1);
|
text *schemaNameText = PG_GETARG_TEXT_P(1);
|
||||||
text *relationNameText = PG_GETARG_TEXT_P(2);
|
text *relationNameText = PG_GETARG_TEXT_P(2);
|
||||||
|
|
||||||
|
|
||||||
char *schemaName = text_to_cstring(schemaNameText);
|
char *schemaName = text_to_cstring(schemaNameText);
|
||||||
char *relationName = text_to_cstring(relationNameText);
|
char *relationName = text_to_cstring(relationNameText);
|
||||||
|
|
||||||
|
@ -237,7 +236,7 @@ master_drop_all_shards(PG_FUNCTION_ARGS)
|
||||||
/*
|
/*
|
||||||
* master_drop_all_shards is typically called from the DROP TABLE trigger,
|
* master_drop_all_shards is typically called from the DROP TABLE trigger,
|
||||||
* but could be called by a user directly. Make sure we have an
|
* but could be called by a user directly. Make sure we have an
|
||||||
* AccessExlusiveLock to prevent any other commands from running on this table
|
* AccessExclusiveLock to prevent any other commands from running on this table
|
||||||
* concurrently.
|
* concurrently.
|
||||||
*/
|
*/
|
||||||
LockRelationOid(relationId, AccessExclusiveLock);
|
LockRelationOid(relationId, AccessExclusiveLock);
|
||||||
|
|
|
@ -28,9 +28,9 @@ PG_FUNCTION_INFO_V1(worker_create_truncate_trigger);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* worker_create_truncate_trigger creates a truncate trigger for the given distributed
|
* worker_create_truncate_trigger creates a truncate trigger for the given distributed
|
||||||
* table on current metadata worker. The function is intented to be called by the
|
* table on current metadata worker. The function is intended to be called by the
|
||||||
* coordinator node during metadata propagation of mx tables or during the upgrades from
|
* coordinator node during metadata propagation of mx tables or during the upgrades from
|
||||||
* citus version <=5.2 to >=6.1. The function requires superuser permissions.
|
* Citus version <=5.2 to >=6.1. The function requires superuser permissions.
|
||||||
*/
|
*/
|
||||||
Datum
|
Datum
|
||||||
worker_create_truncate_trigger(PG_FUNCTION_ARGS)
|
worker_create_truncate_trigger(PG_FUNCTION_ARGS)
|
||||||
|
|
Loading…
Reference in New Issue