Fix different input order of func apply_new_delta_with_count‘s declaration and definition
- declaration: apply_new_delta_with_count(... StringInfo target_list, StringInfo aggs_set, ...) - definition: apply_new_delta_with_count(... StringInfo aggs_set, StringInfo target_list, ...) the input order is different.
This commit is contained in:
parent
cd2ba93f3d
commit
5aaededb91
1 changed files with 2 additions and 2 deletions
|
|
@ -2063,7 +2063,7 @@ apply_delta(Oid matviewOid, Tuplestorestate *old_tuplestores, Tuplestorestate *n
|
||||||
/* apply new delta */
|
/* apply new delta */
|
||||||
if (use_count)
|
if (use_count)
|
||||||
apply_new_delta_with_count(matviewname, NEW_DELTA_ENRNAME,
|
apply_new_delta_with_count(matviewname, NEW_DELTA_ENRNAME,
|
||||||
keys, aggs_set_new, &target_list_buf, count_colname,
|
keys, &target_list_buf, aggs_set_new, count_colname,
|
||||||
query->distinctClause != NULL);
|
query->distinctClause != NULL);
|
||||||
else
|
else
|
||||||
apply_new_delta(matviewname, NEW_DELTA_ENRNAME, &target_list_buf);
|
apply_new_delta(matviewname, NEW_DELTA_ENRNAME, &target_list_buf);
|
||||||
|
|
@ -2547,7 +2547,7 @@ apply_old_delta(const char *matviewname, const char *deltaname_old,
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
apply_new_delta_with_count(const char *matviewname, const char* deltaname_new,
|
apply_new_delta_with_count(const char *matviewname, const char* deltaname_new,
|
||||||
List *keys, StringInfo aggs_set, StringInfo target_list,
|
List *keys, StringInfo target_list, StringInfo aggs_set,
|
||||||
const char* count_colname, bool distinct)
|
const char* count_colname, bool distinct)
|
||||||
{
|
{
|
||||||
StringInfoData querybuf;
|
StringInfoData querybuf;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue