Commit e28ed2c
authored
Fixed issue of incorrect splitting of response buffer into multiple packets for PLP Data (#3830)
Currently, in Babelfish for large response of nvarchar(max) type while splitting the response buffer into multiple packets the last PLP chunk is getting splitting directly and the next packet starts with rest of the part of PLP chunk. Instead if the last PLP chunk size cannot be accommodated into available buffer, the PLP chunk size should have been reduced to available buffer and next packet should start with new PLP chunk. This PR will fix this issue.
Task: BABEL-5875
Signed-off-by: Rohit Bhagat <rohitbgt@amazon.com>1 parent ab6bb4d commit e28ed2c
File tree
5 files changed
+1120
-0
lines changed- contrib/babelfishpg_tds/src
- backend/tds
- include
- test/dotnet
- ExpectedOutput
- input/InsertBulk
5 files changed
+1120
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
61 | 86 | | |
62 | 87 | | |
63 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2810 | 2810 | | |
2811 | 2811 | | |
2812 | 2812 | | |
| 2813 | + | |
2813 | 2814 | | |
| 2815 | + | |
| 2816 | + | |
2814 | 2817 | | |
2815 | 2818 | | |
2816 | 2819 | | |
2817 | 2820 | | |
| 2821 | + | |
| 2822 | + | |
2818 | 2823 | | |
2819 | 2824 | | |
2820 | 2825 | | |
2821 | 2826 | | |
2822 | 2827 | | |
2823 | 2828 | | |
| 2829 | + | |
| 2830 | + | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
| 2839 | + | |
| 2840 | + | |
| 2841 | + | |
| 2842 | + | |
| 2843 | + | |
| 2844 | + | |
| 2845 | + | |
| 2846 | + | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
2824 | 2856 | | |
| 2857 | + | |
2825 | 2858 | | |
2826 | 2859 | | |
2827 | 2860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
309 | 311 | | |
310 | 312 | | |
311 | 313 | | |
| |||
0 commit comments