Commit 1468eba
fix: address code review findings in data-diff orchestrator
- `buildColumnDiscoverySQL`: escape single quotes in all interpolated table
name parts to prevent SQL injection via crafted source/target names
- `dateTruncExpr`: add Oracle case (`TRUNC(col, 'UNIT')`) — Oracle does not
have `DATE_TRUNC`, date-partitioned diffs on Oracle tables previously failed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e3df5a4 commit 1468eba
File tree
1 file changed
+11
-5
lines changed- packages/opencode/src/altimate/native/connections
1 file changed
+11
-5
lines changedLines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
222 | | - | |
223 | | - | |
| 225 | + | |
| 226 | + | |
224 | 227 | | |
225 | | - | |
226 | | - | |
| 228 | + | |
| 229 | + | |
227 | 230 | | |
228 | | - | |
| 231 | + | |
229 | 232 | | |
230 | 233 | | |
231 | 234 | | |
| |||
390 | 393 | | |
391 | 394 | | |
392 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
393 | 399 | | |
394 | 400 | | |
395 | 401 | | |
| |||
0 commit comments