(sql string, start, end int)
| 375 | } |
| 376 | |
| 377 | func oracleLocText(sql string, start, end int) string { |
| 378 | if start < 0 { |
| 379 | start = 0 |
| 380 | } |
| 381 | if end <= 0 || end > len(sql) { |
| 382 | end = len(sql) |
| 383 | } |
| 384 | if start >= end || start >= len(sql) { |
| 385 | return "" |
| 386 | } |
| 387 | return sql[start:end] |
| 388 | } |
| 389 | |
| 390 | func joinOracleSuffix(parts ...string) string { |
| 391 | var nonEmpty []string |
no outgoing calls
no test coverage detected