diff --git a/python/src/com/jetbrains/python/codeInsight/PyInjectionUtil.java b/python/src/com/jetbrains/python/codeInsight/PyInjectionUtil.java index c1ff4f2c555d..97578c6e754b 100644 --- a/python/src/com/jetbrains/python/codeInsight/PyInjectionUtil.java +++ b/python/src/com/jetbrains/python/codeInsight/PyInjectionUtil.java @@ -84,8 +84,7 @@ public class PyInjectionUtil { */ @NotNull public static InjectionResult registerStringLiteralInjection(@NotNull PsiElement element, @NotNull MultiHostRegistrar registrar) { - // Assume percent formatting since the MySQL parser cannot handle Python-style substitutions - return processStringLiteral(element, registrar, "", "", Formatting.PERCENT); + return processStringLiteral(element, registrar, "", "", Formatting.NONE); } private static boolean isStringLiteralPart(@NotNull PsiElement element, @Nullable PsiElement context) {