Ran
|
Files
114
|
Run time
3s
|
Badge
Embed ▾
README BADGES
|
push
github
Free buffer early when converting numerics 3x (#2470) `TdsTypeNumericToDatum` [allocates a buffer](https://github.com/babelfish-for postgresql/babelfish_extensions/blob/6606b1118/contrib/babelfishpg_tds/src/backend/tds/tdstypeio.c#L1133) for parsing incoming numeric data, but does not release this buffer. So it remains in `MessageContext` until the end of BCP import call. Proposed patch frees this buffer before exiting `TdsTypeNumericToDatum`. ### Issues Resolved #2455, BABEL-4882 Signed-off-by: Alex Kasko <alex@staticlibs.net>
41198 of 56474 relevant lines covered (72.95%)
63024.49 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|