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

Commit7b5c7bc

Browse files
committed
[PGPRO-7183] bring in line stable 13, 14, 15
Cherry-pick commit:e49f2fdBugfix. Incorrect pointer shift during reading from learn_cache.
1 parent5654c20 commit7b5c7bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎learn_cache.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ lc_update_fss(uint64 fs, int fss, OkNNrdata *data, List *reloids)
127127
}
128128
}
129129

130+
/*
131+
* Kludge code. But we should rewrite this code because now all knowledge
132+
* base lives in non-transactional shared memory.
133+
*/
134+
ptr= (char*)hdr+sizeof(dsm_block_hdr)+ (sizeof(double)*data->cols*aqo_K);
135+
130136
/* copy targets into DSM storage */
131137
memcpy(ptr,data->targets,sizeof(double)*hdr->rows);
132138
ptr+=sizeof(double)*aqo_K;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp