(sql string, start int)
| 405 | } |
| 406 | |
| 407 | func scanDoubleQuotedString(sql string, start int) int { |
| 408 | i := start + 1 |
| 409 | for i < len(sql) { |
| 410 | if sql[i] == '"' { |
| 411 | if i+1 < len(sql) && sql[i+1] == '"' { |
| 412 | i += 2 |
| 413 | continue |
| 414 | } |
| 415 | return i + 1 |
| 416 | } |
| 417 | i++ |
| 418 | } |
| 419 | return len(sql) |
| 420 | } |
| 421 | |
| 422 | func scanBracketIdentifier(sql string, start int) int { |
| 423 | i := start + 1 |
no outgoing calls
no test coverage detected