(s string)
| 1257 | } |
| 1258 | |
| 1259 | func unquote(s string) string { |
| 1260 | if len(s) < 2 { |
| 1261 | return strings.ToUpper(s) |
| 1262 | } |
| 1263 | if (s[0] == '`' || s[0] == '\'' || s[0] == '"') && s[0] == s[len(s)-1] { |
| 1264 | return s[1 : len(s)-1] |
| 1265 | } |
| 1266 | return strings.ToUpper(s) |
| 1267 | } |
| 1268 | |
| 1269 | func skipHeadingSQLs(statement string, caretLine int, caretOffset int) (string, int, int) { |
| 1270 | newCaretLine, newCaretOffset := caretLine, caretOffset |
no outgoing calls
no test coverage detected