Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8249f7e

Browse files
committed
fix src\partition_creation.h(101): error C2016
1 parent135c852 commit8249f7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/partition_creation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ typedef struct
9797
{
9898
struct
9999
{
100-
/* nothing */
100+
void*none;/* nothing (struct should have at least 1 element) */
101101
}hash_params;
102102

103103
struct
@@ -130,9 +130,9 @@ typedef struct
130130
do \
131131
{ \
132132
memset((void *) (params_p), 0, sizeof(init_callback_params)); \
133+
(params_p)->cb_type = PT_INIT_CALLBACK; \
133134
(params_p)->callback = (cb); \
134135
(params_p)->callback_is_cached = false; \
135-
(params_p)->cb_type = PT_INIT_CALLBACK; \
136136
(params_p)->parttype = PT_HASH; \
137137
(params_p)->parent_relid = (parent); \
138138
(params_p)->partition_relid = (child); \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp