-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTE not working #961
Comments
It works just fine with MySql.Data. In our case is because ";" |
I get a different error:
|
I tested the following queries: Q1; select 1; Q2/* test */; select 1; Q3 ← blank line
; select 1; Q4-- test
; select 1; Q5-- TODO: write SQL
MySql.Data will also fail on queries such as |
Why are you beginning a SQL query with a leading |
Signed-off-by: Bradley Grainger <[email protected]>
Not by my will :), it's some legacy generated code that bubbled up during a migration from MySql to SingleStore and spotlighted MySQlConnector as a more performant alternative; with the MySql.Data library the legacy code was working. |
Version 1.3.1, trying to execute a query like this: ";WITH cte0 as ( SELECT 1 as
xxx
) SELECT 2 asxxx
", throwsThe text was updated successfully, but these errors were encountered: