Commit a3cc5b9
committed
store: Go back to the less clever but correct way of pruning
The change in aea5b57 has a logic error in that we look at a fixed number
of rows from the table, filter out the ones we don't need to copy, and then
insert the remaining rows. The error is that the logic assumes that if we
do not insert any rows that we are done with copying, but that's wrong,
since not inserting rows now just means that no rows in the batch needed to
be copied even though a subsequent batch might still have such rows.
This reverts commit aea5b57.1 parent aea5b57 commit a3cc5b9
1 file changed
Lines changed: 2 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 94 | | |
104 | 95 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 96 | + | |
110 | 97 | | |
111 | 98 | | |
112 | 99 | | |
| |||
166 | 153 | | |
167 | 154 | | |
168 | 155 | | |
169 | | - | |
170 | | - | |
171 | 156 | | |
172 | 157 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 158 | + | |
178 | 159 | | |
179 | 160 | | |
180 | 161 | | |
| |||
0 commit comments