GitHub user sandhyasun opened a pull request:
https://github.com/apache/trafodion/pull/1754
[TRAFODION-2408] Remove code that empties the LOB data file when creating
an empty_blob.
Remove code that renames the lob data file when an empty_blob is created.
When allocating the descriptor for a new empty_blob entry, the lob data
file was being renamed. That is incorrect since the lob data file can contain
data from other lob entries in the column. (There is one single lob data file
for each LOB column and it can hold several blob entries in it). So remove
the code that does this and simply update the descriptor files to have an
entry which keeps the LOB offset and leave the LOB length as 0. This way we
know the LOB is empty . If data is appended to it, the data will go into a new
offset within that data file.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sandhyasun/trafodion traf_call_lib
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1754.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1754
----
commit fb0ab72b30124418eba9473df5ac24743ffbc204
Author: Sandhya Sundaresan <sandhya@...>
Date: 2018-11-30T18:26:31Z
Remove code that empties the LOB data file when creating an empty_blob.
----
---