readBlob() no longer writes the blob contents to the log. ;)
This commit is contained in:
parent
0f45b97eda
commit
a5a234635e
1 changed files with 0 additions and 2 deletions
|
@ -37,12 +37,10 @@ void readBlob(int xid, Page * p2, recordid rid, byte * buf) {
|
||||||
for(chunk = 0; (chunk+1) * USABLE_SIZE_OF_PAGE < rid.size; chunk++) {
|
for(chunk = 0; (chunk+1) * USABLE_SIZE_OF_PAGE < rid.size; chunk++) {
|
||||||
TpageGet(xid, rec.offset+chunk, pbuf);
|
TpageGet(xid, rec.offset+chunk, pbuf);
|
||||||
memcpy(buf + (chunk * USABLE_SIZE_OF_PAGE), pbuf, USABLE_SIZE_OF_PAGE);
|
memcpy(buf + (chunk * USABLE_SIZE_OF_PAGE), pbuf, USABLE_SIZE_OF_PAGE);
|
||||||
TpageSet(xid, rec.offset+chunk, pbuf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TpageGet(xid, rec.offset+chunk, pbuf);
|
TpageGet(xid, rec.offset+chunk, pbuf);
|
||||||
memcpy(buf + (chunk * USABLE_SIZE_OF_PAGE), pbuf, rid.size % USABLE_SIZE_OF_PAGE);
|
memcpy(buf + (chunk * USABLE_SIZE_OF_PAGE), pbuf, rid.size % USABLE_SIZE_OF_PAGE);
|
||||||
TpageSet(xid, rec.offset+chunk, pbuf);
|
|
||||||
// printf("Chunk = %d\n", chunk);
|
// printf("Chunk = %d\n", chunk);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue