Skip to content
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

fix dual #17278

Merged
merged 6 commits into from
Jul 3, 2024
Merged

fix dual #17278

merged 6 commits into from
Jul 3, 2024

Conversation

daviszhen
Copy link
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #https://github.com/matrixorigin/MO-Cloud/issues/3447

What this PR does / why we need it:

对dual的修改:

CASE 1:
create table dual(a int);
select * from dual;
mysql responses: No tables used
mo和mysql认为是占位符。

CASE 2: select * from dual;
create table dual(a int);
select * from dual;
mysql responses: success.
mysql认为是正常表。
mo认为是占位符。这与mysql不同。目前的parser不好改为同mysql一致。

CASE 3:
create table dual(a int);
select * from db.dual;
select * from icp.dual;
mysql responses: success.
mysql和mo都认为是正常表。

@mergify mergify bot added the kind/bug Something isn't working label Jul 2, 2024
@matrix-meow matrix-meow added the size/S Denotes a PR that changes [10,99] lines label Jul 2, 2024
@mergify mergify bot merged commit ae8f052 into matrixorigin:main Jul 3, 2024
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/S Denotes a PR that changes [10,99] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants