We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135c852 commit 8249f7eCopy full SHA for 8249f7e
src/partition_creation.h
@@ -97,7 +97,7 @@ typedef struct
97
{
98
struct
99
100
- /* nothing */
+ void *none; /* nothing (struct should have at least 1 element) */
101
} hash_params;
102
103
@@ -130,9 +130,9 @@ typedef struct
130
do \
131
{ \
132
memset((void *) (params_p), 0, sizeof(init_callback_params)); \
133
+ (params_p)->cb_type = PT_INIT_CALLBACK; \
134
(params_p)->callback = (cb); \
135
(params_p)->callback_is_cached = false; \
- (params_p)->cb_type = PT_INIT_CALLBACK; \
136
(params_p)->parttype = PT_HASH; \
137
(params_p)->parent_relid = (parent); \
138
(params_p)->partition_relid = (child); \
0 commit comments