Repository navigation
Commit a2a42bb
committed
fix(auth): stop BLOB view predicate lookups at LIMIT under query-auth
A query-auth read with BLOB columns resolves the views its predicates
read before LIMIT applies, a whole batch at a time, so it could look up
references past the quota and fail on one no row needed. Read one
candidate at a time in that case, as the unrestricted read already does.1 parent 1cb0197 commit a2a42bb
2 files changed
Lines changed: 41 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
| 1172 | + | |
1172 | 1173 | | |
1173 | | - | |
| 1174 | + | |
1174 | 1175 | | |
1175 | 1176 | | |
1176 | 1177 | | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
1181 | | - | |
1182 | | - | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
1183 | 1195 | | |
1184 | 1196 | | |
1185 | 1197 | | |
| |||
1191 | 1203 | | |
1192 | 1204 | | |
1193 | 1205 | | |
1194 | | - | |
1195 | 1206 | | |
1196 | 1207 | | |
1197 | 1208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1259 | 1259 | | |
1260 | 1260 | | |
1261 | 1261 | | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1262 | 1284 | | |
1263 | 1285 | | |
1264 | 1286 | | |
| |||
0 commit comments