diff --git a/src/MySqlConnector/Core/SqlParser.cs b/src/MySqlConnector/Core/SqlParser.cs index bbf337c8a..03554cd52 100644 --- a/src/MySqlConnector/Core/SqlParser.cs +++ b/src/MySqlConnector/Core/SqlParser.cs @@ -265,6 +265,10 @@ public void Parse(string sql) states |= FinalParseStates.NeedsNewline; state = beforeCommentState; } + else if (state == State.SingleQuotedStringSingleQuote) + { + state = State.Statement; + } if (state == State.Statement) {