| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
undocumented "session_scratch_max" config).
SERVER-16623
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
simplifies some other code in the system.
Change buffer init calls to clear the buffer data size before calling
the grow function -- it shouldn't be necessary, but it clarifies what
is happening.
|
|
|
|
|
|
|
|
|
|
|
|
| |
when mapping object into memory, remove the WT_ITEM_MAPPED flag, that
information is now based on WT_DATA_IN_ITEM (if the WT_ITEM.data field
points into the WT_ITEM.mem buffer). This also simplifies some of the
buffer handling, there's no longer any reason to "clear" WT_ITEM.mem
for mapped objects.
Some calls to __wt_buf_steal() used scratch buffers, which is dangerous,
scratch buffers can include large allocated chunks; remove/replace all
calls to __wt_buf_steal() with __wt_strndup() calls.
|
|
functions in a new inline file, include/buf.i.
Remove a couple of inlined buffer size tests, they're no longer needed.
Fix a few places to use __wt_buf_extend instead of rolling their own
versions.
|