Repository navigation
Commit 94d1105
committed
fix(cascade): ignore backquoted identifiers in the subquery check; assert the matched row
Review follow-up. The subquery check strips quoted text before looking for SELECT; it now strips MySQL's backquoted identifiers too, as it already did PostgreSQL's double-quoted ones, so a column named `select` no longer makes a seed look like a subquery (that case was safe, since the seed's keys select the same rows). The percent-sign test now checks which row each seed selects, not only how many. The seed helper's docstring notes that replacing a seed by its keys reads them all into one condition.1 parent 05335d1 commit 94d1105
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
0 commit comments