Commit c69037c
BUG: Fixed grow_buffer to grow when capacity is reached
Addresses issue in #12494 by allowing `grow_buffer` to grow the size
of the parser buffer when buffer capacity is achieved. Previously,
you had to exceed capacity for this to occur, but that was
inconsistent with the `end_field` check later on when handling the EOF
terminator, where reached capacity was considered a buffer overflow.
Author: gfyoung <gfyoung17@gmail.com>
Closes #12504 from gfyoung/read_csv_empty_header and squashes the following commits:
8ba3dd0 [gfyoung] BUG: Fixed grow_buffer to grow when capacity is reached1 parent 9313089 commit c69037c
File tree
3 files changed
+22
-1
lines changed- doc/source/whatsnew
- pandas
- io/tests
- src/parser
3 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
| 1202 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2635 | 2635 | | |
2636 | 2636 | | |
2637 | 2637 | | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
2638 | 2658 | | |
2639 | 2659 | | |
2640 | 2660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments