forked from MariaDB/server
-
Notifications
You must be signed in to change notification settings - Fork 5
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
VIEW fails with UNION of versioned tables #269
Comments
836 if (types.elements != sl->item_list.elements)
837 {
838 my_message(ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT,
839 ER_THD(thd, ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT),MYF(0));
840 goto err;
841 }
|
1.
|
Seems like wildcard is wrongly expanded for UNION. |
|
1-st item_list.empty() is 6. |
1. 1-st
|
|
|
select * from (select emp_id from emp for system_time all union select emp_id from emp ) as s; 1. union prepared
2.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduce
Result
Expected
No error, empty resultset.
The text was updated successfully, but these errors were encountered: