mirror of https://github.com/citusdata/citus.git
Fix reindent version inconsistencies.
Different versions of reindent tool reformatted citus_custom_scan.c and citus_copyfuncs.c differently. So some developers spent some extra attention not to commit these two files after reindent. This PR tries to address this.pull/3327/head
parent
b655c02352
commit
08eb0ade31
|
@ -183,8 +183,8 @@ CitusModifyBeginScan(CustomScanState *node, EState *estate, int eflags)
|
|||
* executions of a prepared statement. Instead we create a deep copy that we only
|
||||
* use for the current execution.
|
||||
*/
|
||||
DistributedPlan *distributedPlan = scanState->distributedPlan = copyObject(
|
||||
scanState->distributedPlan);
|
||||
DistributedPlan *distributedPlan = copyObject(scanState->distributedPlan);
|
||||
scanState->distributedPlan = distributedPlan;
|
||||
|
||||
Job *workerJob = distributedPlan->workerJob;
|
||||
Query *jobQuery = workerJob->jobQuery;
|
||||
|
|
|
@ -33,8 +33,8 @@ CitusSetTag(Node *node, int tag)
|
|||
|
||||
|
||||
#define DECLARE_FROM_AND_NEW_NODE(nodeTypeName) \
|
||||
nodeTypeName *newnode = (nodeTypeName *) \
|
||||
CitusSetTag((Node *) target_node, T_ ## nodeTypeName); \
|
||||
nodeTypeName *newnode = \
|
||||
(nodeTypeName *) CitusSetTag((Node *) target_node, T_ ## nodeTypeName); \
|
||||
nodeTypeName *from = (nodeTypeName *) source_node
|
||||
|
||||
/* Copy a simple scalar field (int, float, bool, enum, etc) */
|
||||
|
|
Loading…
Reference in New Issue