(bytes: &[u8])
| 308 | /// Check DELETE-specific patterns |
| 309 | #[inline(always)] |
| 310 | fn has_delete_special_patterns(bytes: &[u8]) -> bool { |
| 311 | // Check for DELETE ... USING |
| 312 | if memchr::memmem::find(bytes, b"USING").is_some() { |
| 313 | return true; |
| 314 | } |
| 315 | |
| 316 | has_any_special_pattern_fast(bytes) |
| 317 | } |
| 318 | |
| 319 | /// Find RETURNING clause position |
| 320 | #[inline(always)] |
no test coverage detected